1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-18 07:52:14 +01:00

Added delay to KeyboardReprogram to make backspace more obvious

This commit is contained in:
Tom Igoe 2012-03-28 12:24:17 -04:00
parent 5fef2eee1c
commit f4746a6b25

View File

@ -62,6 +62,7 @@ void loop() {
Keyboard.print("delay(3000);"); Keyboard.print("delay(3000);");
// 3000 ms is too long. Delete it: // 3000 ms is too long. Delete it:
for (int keystrokes=0; keystrokes < 6; keystrokes++) { for (int keystrokes=0; keystrokes < 6; keystrokes++) {
delay(500);
Keyboard.type(KEY_BACKSPACE); Keyboard.type(KEY_BACKSPACE);
} }
// make it 1000 instead: // make it 1000 instead: