Last active
November 3, 2016 15:50
-
-
Save ha1t/7d9c5ca17d2a3b07ea1e to your computer and use it in GitHub Desktop.
マウスカーソルをぷるぷるさせる
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 1.6.10 だと動かない.1.6.11でうごいた | |
| #include <Mouse.h> | |
| void setup() { | |
| Mouse.begin(); | |
| } | |
| void loop() { | |
| Mouse.move(2, 2); | |
| delay(25); | |
| Mouse.move(0, 0); | |
| delay(25); | |
| Mouse.move(-2, -2); | |
| delay(25); | |
| Mouse.move(0,0); | |
| delay(25); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment