An arduino program using MPU6050, ESP32 with bluetooth.
You can see how it works on youtube
- The main program is in the src directory.
- The circuit is in circuit directory.
Follow the official arduino library installation.
| switch | behavior |
|---|---|
| Rightmost switch | click |
| Middle switch | right click |
| Leftmost switch | scroll |
| Touch switch | stop the mouse cursor moving |
If you face the problem of the y-axis drifting, try some of the variables "offsety" in line 23.


