Sfoglia il codice sorgente

Opps, pinMode needed

dds
PaulStoffregen 9 anni fa
parent
commit
b16472a1f8
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      examples/Tutorial/Part_1_05_Do_More_While_Playing/Part_1_05_Do_More_While_Playing.ino

+ 1
- 0
examples/Tutorial/Part_1_05_Do_More_While_Playing/Part_1_05_Do_More_While_Playing.ino Vedi File

@@ -35,6 +35,7 @@ void setup() {
delay(500);
}
}
pinMode(13, OUTPUT); // LED on pin 13
pinMode(0, INPUT_PULLUP);
pinMode(2, INPUT_PULLUP);
delay(1000);

Loading…
Annulla
Salva