The Arduino Project Handbook project code is all available on the website to accompany the book but I’ve been struggling over the past few weeks to post the code in WordPress. Most of the code was working fine but some were throwing up errors – this should be fixed now.
WordPress has a code button so that it knows when blocks are online so they can be copied and pasted in a program, without using this the code won’t compile. What I didn’t realise is that the Arduino IDE version 1.0.5 has a ‘copy for HTML’ option and this seems to have solved the issues.
I think I’ve fixed them all but if you come across any that don’t compile, let me know and I’ll look into it.
Here is a good link giving more info on adding code online.