Getting started with Arduino
Today we'll go over the rudiments of programming the Arduino. Enough for you to do the pre-lab assignment.
Readings in 'Programming Arduino'
In the textbook that I'll call PA, Programming Arduino, Getting started with sketches, Simon Monk...
- Chapter 1, "This is Arduino" has a lot of interesting / useful info about the history of the Arduino board and explanations of what the functions of the different parts of the board.
- Ch 2, "Getting Started" relates the most to what we'll cover today: Opening the IDE; Getting at the example programs, called sketches; Checking your code; Uploading your sketch to a board;
- Ch 3, "C Language Basics" A few pieces of this are useful right away: Line-by-line execution of lines that must end with
;
; Case sensitivity; Code blocks between curly brackets{...}
; Comments starting with//
.