mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Added delay to KeyboardReprogram to make backspace more obvious
This commit is contained in:
@ -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:
|
||||||
|
Reference in New Issue
Block a user