arduino:arduino_crash_course:start
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 baord. If you use a different board, changes to the code (pin numbers in particular) may be required.
Contents
Basics
Input
-
- ADC
- Reading ADC from e.g. photosensor
- Night light
- Light meter
Output
Covered if time permits
- Communication buses
- Serial
- SPI
- I2C
Not covered
- Interrupts
- External
- Timers
- Multiple external
- Watchdog timers
- Libraries
- 7-segment displays
- LCD displays
- Switch matrices
Things that need to be incorporated
user functions→ introduced in digital_inputvariables→ introduced in Program structure- flow control (control structures)
selectionif-else→ introduced in Basic Interactionswitch→ introduced in switch-case_selection_structure
- repetition
- while
- for
Many of the examples here borrow from or are based on the examples at http://arduino.cc/en/Tutorial/HomePage.
arduino/arduino_crash_course/start.1352164096.txt.gz · Last modified: 2012/11/06 01:08 by mithat