Removed need for the for(;;) loop
This commit is contained in:
parent
6e770fe5d7
commit
90704a4cf6
|
@ -3,9 +3,6 @@
|
||||||
|
|
||||||
#include "DigiKeyboard.h"
|
#include "DigiKeyboard.h"
|
||||||
void setup() {
|
void setup() {
|
||||||
}
|
|
||||||
|
|
||||||
void loop() {
|
|
||||||
DigiKeyboard.sendKeyStroke(0);
|
DigiKeyboard.sendKeyStroke(0);
|
||||||
DigiKeyboard.delay(500);
|
DigiKeyboard.delay(500);
|
||||||
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT);
|
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT);
|
||||||
|
@ -27,5 +24,8 @@ void loop() {
|
||||||
DigiKeyboard.print(F("$wmplayer.Close();"));
|
DigiKeyboard.print(F("$wmplayer.Close();"));
|
||||||
DigiKeyboard.delay(500);
|
DigiKeyboard.delay(500);
|
||||||
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
for(;;){ /*empty*/ }
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue