Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Mouse jiggler for Arduino compatible modules.
- * It moves cursor every 5 seconds.
- */
- #include <Mouse.h>
- void setup()
- {
- Mouse.begin();
- }
- void loop()
- {
- delay(1000);
- while(true) {
- Mouse.move(4,0,0);
- delay(100);
- Mouse.move(-8,0,0);
- delay(100);
- Mouse.move(4,0,0);
- delay(5000);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement