More reliable typing: tuned timer delay
This commit is contained in:
parent
1c5da6906a
commit
42c2cb60df
@ -13,7 +13,7 @@ const int outPin = 4; // out, kbd led
|
|||||||
|
|
||||||
// constant config
|
// constant config
|
||||||
const int slaveClockDivider = 8;
|
const int slaveClockDivider = 8;
|
||||||
const int timerDelay = 530 / slaveClockDivider;
|
const int timerDelay = 520 / slaveClockDivider;
|
||||||
|
|
||||||
// variables
|
// variables
|
||||||
volatile int slaveClockStep = 0;
|
volatile int slaveClockStep = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user