The button program allowed you to turn an led on and off with a push button this page will introduce you to a number of activities that will get you doing more with the button and in the end give you the challenge of making a number of LEDs come on in sequence when the button is pushed a number of times. The button activity you have completed already is just one button activity from the Arduino learning site before we jump into a project challenge you should try a couple of other button activities to help you understand exactly what is going on.
This activity reads the condition of a button and displays it back to you using the Arduino serial monitor. The Serial monitor is the right most button of the control buttons on the Arduino control bar ( beside the upload button). It allows you to see communication between the Arduino and the computer.
This activity counts the number of button pushes.
This activity is kind of a step backwards but it's borring if i make you do it first. this tutorial activity goes through the blink program and explains it line by line, by now you have entered a number of programs without much explanation but is you are to start writing your own programs you need to start identifying what each line does.
This activity you will draw from several activities you have done already to create an entirely new program.