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:
parent
5fef2eee1c
commit
f4746a6b25
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user