If Statement (Conditional): How to use an if statement to change output conditions based on changing input conditions.
For Loop: Controlling multiple LEDs with a for loop and.
Array: A variation on the For Loop example that demonstrates how to use an array.
While Loop: How to use a while loop to calibrate a sensor while a button is being read.
Switch Case: How to choose between a discrete number of values. Equivalent to multiple If statements. This example shows how to divide a sensor's range into a set of four bands and to take four different actions depending on which band the result is in.
Switch Case 2: A second switch-case example, showing how to take different actions based in characters received in the serial port.