Arduino – arrays, for loops, switch case examples


Image

 

Arduinos are pretty fun little machines. Using them combines programming with electronics, which is a great combination.

I’m starting Arduino with a background in PHP and Javascript. While some things are quite different (Arduino programs, called sketches, are C and C++ at heart), I felt fairly comfortable diving right in and learning things as I went along. 

See my sketch on github. It has examples of using arrays, for loops, and switch case statements. I can go into more detail on those here in the future.


Leave a Reply

Your email address will not be published. Required fields are marked *