Simple game with the MPU6050 module ! U can change the sensitivity of mouvement in game also u can change the Y and X axis from this line in code : player.speedY = effectiveY * sensitivity * 0.5; player.speedX = effectiveX * sensitivity * 0.5; (add "-" if u wanna invert the mouvement)
iTzR1g/ESP32-dev-module-MPU6050-Game
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|