From 3c282f5598bbd010dc132ad7e127cf02bc56664e Mon Sep 17 00:00:00 2001 From: James Devine Date: Wed, 6 Jun 2018 23:21:08 +0200 Subject: [PATCH] First commit. Nothing fancy. --- keyboardtest.ino | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 keyboardtest.ino diff --git a/keyboardtest.ino b/keyboardtest.ino new file mode 100644 index 0000000..5d2bd2e --- /dev/null +++ b/keyboardtest.ino @@ -0,0 +1,39 @@ +/* + This code is licensed udner + GNU GENERAL PUBLIC LICENSE V3 + + Kudos to these guys for telling me how to do it + http://www.arduino.cc/en/Tutorial/KeyboardMessage + + Unlike all the other serious code I've written for Arduino, + this one is for making jokes! Insert your word(s) and plug + in to a computer somewhere discrete. It could be quite funny! + Use at your own risk and don't be (too) evil. +*/ + +#include "Keyboard.h" + +void setup() { + // initialize control over the keyboard: + Keyboard.begin(); +} + +void loop() { + delay(random(50000, 500000)); + Keyboard.print("INSERT YOUR WORD HERE "); + + delay(random(50000, 500000)); + Keyboard.print("INSERT YOUR WORD HERE "); + + delay(random(50000, 500000)); + Keyboard.print("INSERT YOUR WORD HERE "); + + delay(random(50000, 500000)); + Keyboard.print("INSERT YOUR WORD HERE "); + + delay(random(50000, 500000)); + Keyboard.print("INSERT YOUR WORD HERE "); + + delay(random(50000, 500000)); + Keyboard.print("INSERT YOUR WORD HERE "); +}