Przeglądaj źródła

Opps, pinMode needed

dds
PaulStoffregen 10 lat temu
rodzic
commit
b16472a1f8
1 zmienionych plików z 1 dodań i 0 usunięć
  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 Wyświetl plik

delay(500); delay(500);
} }
} }
pinMode(13, OUTPUT); // LED on pin 13
pinMode(0, INPUT_PULLUP); pinMode(0, INPUT_PULLUP);
pinMode(2, INPUT_PULLUP); pinMode(2, INPUT_PULLUP);
delay(1000); delay(1000);

Ładowanie…
Anuluj
Zapisz