Reduce switch-on time to 100ms
This commit is contained in:
@@ -92,7 +92,7 @@ void handleEncoderMovement()
|
||||
/* ========================================================= */
|
||||
const int PIN_POWER_SWITCH_INPUT = 2;
|
||||
const int PIN_POWER_SWITCH_OUTPUT = 12;
|
||||
const unsigned long POWER_STABLE_THRESHOLD = 400;
|
||||
const unsigned long POWER_STABLE_THRESHOLD = 100;
|
||||
bool powerStableState;
|
||||
bool powerLastRawState;
|
||||
unsigned long powerLastChangeTime = 0;
|
||||
|
||||
Reference in New Issue
Block a user