Cleanup and added joystick button pins

This commit is contained in:
Phew
2025-12-20 10:46:38 +01:00
parent da047cd165
commit b708b4c787

View File

@@ -17,7 +17,7 @@
#define DEFAULT_BRIGHTNESS 150
#define DEFAULT_BRIGHTNESS 50
#define MIN_BRIGHTNESS 10
#define MAX_BRIGHTNESS 255
@@ -34,6 +34,11 @@ const uint8_t LIVES_PER_LEVEL = 3; // default lives per level
#define MIN_ATTACK_THRESHOLD 20000
#define MAX_ATTACK_THRESHOLD 30000
#define leftButtonPinNumber 26
#define rightButtonPinNumber 18
#define upButtonPinNumber 19
#define downButtonPinNumber 23
#define DEFAULT_JOYSTICK_DEADZONE 8 // Angle to ignore
#define MIN_JOYSTICK_DEADZONE 3