diff --git a/Pinger/Pinger.ino b/Pinger/Pinger.ino new file mode 100644 index 0000000..5dbda65 --- /dev/null +++ b/Pinger/Pinger.ino @@ -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); +}