Code from the beginner Arduino class taught by Area515