]> git.piffa.net Git - sketchbook_andrea/blobdiff - basic/buttons/button_2_serial_debug/button_2_serial_debug.ino
PWM
[sketchbook_andrea] / basic / buttons / button_2_serial_debug / button_2_serial_debug.ino
index f0b41d543cb88b111a22b827b1132811c2017189..e4866bf4a8c5c375622b87db67a3e85afbfab309 100644 (file)
@@ -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