First commit. Nothing fancy.
This commit is contained in:
parent
0b600cd0c1
commit
3c282f5598
1 changed files with 39 additions and 0 deletions
39
keyboardtest.ino
Normal file
39
keyboardtest.ino
Normal file
|
|
@ -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 ");
|
||||
}
|
||||
Loading…
Reference in a new issue