Ver código fonte

Opps, pinMode needed

dds
PaulStoffregen 9 anos atrás
pai
commit
b16472a1f8
1 arquivos alterados com 1 adições e 0 exclusões
  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 Ver arquivo

@@ -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);

Carregando…
Cancelar
Salvar