Create Pinger.ino
This commit is contained in:
parent
55692b6092
commit
ef59497219
|
@ -0,0 +1,18 @@
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
// don't need to set anything up to use DigiKeyboard
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(0);
|
||||||
|
DigiKeyboard.sendKeyStroke(0, MOD_GUI_LEFT);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.println("terminal");
|
||||||
|
DigiKeyboard.delay(1000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.println("ping /t google.com");
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
//DigiKeyboard.delay(5000);
|
||||||
|
}
|
Loading…
Reference in New Issue