A sequence of simple sketches for illustrating the C programming language on the Arduino.
- The most basic sketch: <%= on/on.ino =%>
- Testing with
if
: <%= if/if.ino =%> - Saving state with a variable: <%= state/state.ino =%>
- Looping with
while
: <%= while/while.ino =%> - Looping with
for
: <%= for/for.ino =%> - Defining a
function
: <%= functions/functions.ino =%> - Using C++ objects: <%= serial/serial.ino =%>
- Using datatypes like
float
, and putting it all together: <%= alltogether/alltogether.ino =%>