this time i will show how to program a button in the Arduino progam,
most of the time, people just use it to block the voltage that comes trough the wire.
but now, it is regonized by the arduino.
have fun, dinky
Step 1: The LED
insert the negative-pin to ``gnd`` and the positif/pin in ``13``
Step 2: The Wires, the Bread-board & the Button
insert the 1st wire in:'' 3v3 ''
insert the 2nd wire in:''4''
Step 3: Programming
if you already have the arduino software, you have to go to:
file / sketchbook / examples / digital / button.
if you don't have the software you can download it ad:
but you have to make some adjustments:
int inputpin = 2 ; the 2 is suposed to be 4.