Posting Arduino Code in WordPress

Arduino project handbook  progam

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s