4f4ae933 |
1 | (how to use this |
2 | (connect your robot to your computer via usb cable) |
3 | (open arduino ide) |
4 | (in arduino ide, open pushbutton.ino) |
5 | (hit the upload button) |
6 | (hit control+shift+m, |
7 | or go to the menu item tools, and down to serial monitor) |
8 | (in the bottom right, select "9600 baud") |
9 | (connect the breadboard and pushbutton as shown in "pushed.jpg") |
10 | (hit the upload button in the arduino ide) |
642345f4 |
11 | (press the button!) |
12 | (the message "button state changed!" should appear, |
13 | and the arduino's built in LED should light up) |
14 | (yaaay!)) |