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