X-Git-Url: http://git.piffa.net/web?a=blobdiff_plain;f=basic%2Fbuttons%2Fbutton_2_serial_debug%2Fbutton_2_serial_debug.ino;fp=basic%2Fbuttons%2Fbutton_2_serial_debug%2Fbutton_2_serial_debug.ino;h=e4866bf4a8c5c375622b87db67a3e85afbfab309;hb=f7cdba7df419dcde095f911daa92deb9dcd283ec;hp=f0b41d543cb88b111a22b827b1132811c2017189;hpb=f6b06dbfcd44c2cddf6053fe1d824dbdc8493fa1;p=sketchbook_andrea diff --git a/basic/buttons/button_2_serial_debug/button_2_serial_debug.ino b/basic/buttons/button_2_serial_debug/button_2_serial_debug.ino index f0b41d5..e4866bf 100644 --- a/basic/buttons/button_2_serial_debug/button_2_serial_debug.ino +++ b/basic/buttons/button_2_serial_debug/button_2_serial_debug.ino @@ -9,14 +9,11 @@ - http://lab.piffa.net/schemi/button_1_schem.png */ -// Pin 13 has an LED connected on most Arduino boards. -// give it a name: -int led = 13; +int led = 12; int input = 2; // the setup routine runs once when you press reset: void setup() { - // initialize the digital pin as an output. pinMode(led, OUTPUT); // Il PIN e' attivato come output pinMode(input, INPUT); // Il PIN e' attivato come output