This is an old revision of the document!
Table of Contents
Crash Course in Arduino Programming
The examples used here have all been tested on the Arduino Uno board. If you use a different board, changes to the code (pin numbers in particular) may be required.
Many of the examples here borrow from or are based on the examples at http://arduino.cc/en/Tutorial/HomePage.
Contents
Basics
Input
Output
Not covered
- Communication buses
- Serial
- SPI
- I2C
- Interrupts
- External
- Timers
- Multiple external
- Watchdog timers
- Libraries
- 7-segment displays
- LCD displays
- Switch matrices
What you should do next
Many of the examples here borrow from or are based on the examples at the Arduino Tutorials. You are strongly encouraged to work through the tutorials there.
This crash course hasn't covered advanced but crucial programming concepts. You are very strongly advised to read about control structures on the Arduino Tutorials pages–the if statement selection structure and while loop and for loop repetition structures in particular.