News

Click Sketch > Verify / Compile to make sure the code is properly in there. Save the file and then attach the Arduino to your computer with the USB cable. Click File > Upload.
You can read the state of a button using Arduino and a few lines of code. The actual state is shown in the Serial Monitor window as 0 or 1, 0 meaning the button is not pressed and 1 that the button is ...