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.