Structure
Statements and comments
Setup and Loop
Loop
Functions
Data
Variables
Integers and floats
True/False
Characters and Strings
Character classification
Split a string and convert it to numbers
Datatype conversion
Variable scope
Arrays
Vectors
Bidimensional arrays
Passing an array to a function
Control
Iteration
Iterate through digital outputs
Iterate through digital inputs
Conditionals
Logical operators
Math
Increment/Decrement
Operator precedence
Modulo
Sine and Cosine
Random
Digital Output
LED blink
LED blink sequence
LED swing
7 Segment led numerical LED display
Optocoupler: 4N35
120-240 VAC Light bulb: TRIAC
MOSFET: IRLD024
LED Port
Digital Input
Switch (button)
Multiple switches
Hall effect sensor
distance (proximity) sensor: Parallax ping
Transmissive optical sensor
Digital Advanced
Shift Register: 74LS595
Magnetic field sensor: micromag 3-axis
Humidity & Temperature: Sparkfun SHT15
Humidity & Temperature: Parallax SHT11
RGB LED matrix: Sparkfun RGB LED backpack
Analog Input
Potentiometer
Photoresistor
Force Resistor
Air quality sensor: MQ135
Infrared ranger (distance/presence): SHARP GP2D12/120
PiezoFilm (touch/vibration): MSIUSA piezo film
Phototransistor
Microphone (sound sensor)
Ambient light sensor: Sparkfun TEMT6000
Accelerometer: Sparkfun
Air pressure: Motorola
Infrared ranger & LEDs
Potentiometer & LED
Analog Output
LED light intensity
RGB LED
Motor speed
Stretch sensor & LEDs
Light sensor & LED
Interrupts
Attending external interrupts
Timing
Timer
LED blink w/timer