Programming concepts

This crash course hasn't covered advanced but crucial programming concepts. You are 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 are particularly important.