Cleanup and added joystick button pins
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
|
||||
// LEDS
|
||||
#define NUM_LEDS 144
|
||||
#define MIN_LEDS 60
|
||||
#define MIN_LEDS 60
|
||||
|
||||
|
||||
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user