Added distance corrected switch time for LEDs.
This commit is contained in:
@@ -29,4 +29,11 @@
|
||||
#define BTN_DOWN_HOLDED -1
|
||||
#define BTN_DOWN_UP_NOT_HOLDED 0
|
||||
|
||||
#define LED_MAX_DISTANCE 1312
|
||||
#define LED_DISTANCE_ARRAY LedDistances [MAX_LED_INDEX + 1] = { 0.0, 0.013, 0.029, 0.049, 0.073, 0.101, 0.135, 0.176, 0.225, 0.285, 0.356, 0.442, 0.546, 0.670, 0.820, 1.0 }
|
||||
|
||||
#define MAX_SWITCH_TIME 15000
|
||||
#define MIN_SWITCH_TIME 500
|
||||
#define DEFAULT_SWITCH_TIME 5000
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user