Arduino: A first encounter and a gotcha
December 28th, 2010
No comments
Today, I started playing with my Arduino Uno board I got a few weeks ago. Contrary to my assumption, getting started with the board was quite easy as most of it was regular C stuff with a couple of built-in functions for specific purposes.
Code organization is pretty simple too:
- setup(): for board and variable initialization specific to your program. This is executed by Uno when it’s reset.
- loop(): for your program logic. As the name implies, Uno keeps running this function over and over.

