Arduino Tutorials Part 1
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
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
The LED
insert the negative-pin to ``gnd`` and the positif/pin in ``13``
The Wires, the Bread-board & the Button
insert the 1st wire in:'' 3v3 ''
insert the 2nd wire in:''4''
insert the 2nd wire in:''4''
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:
http://arduino.cc/en/Main/Software
but you have to make some adjustments:
int inputpin = 2 ; the 2 is suposed to be 4.
file / sketchbook / examples / digital / button.
if you don't have the software you can download it ad:
http://arduino.cc/en/Main/Software
but you have to make some adjustments:
int inputpin = 2 ; the 2 is suposed to be 4.