Reliable 0..7 (note: Serial 7E1)
This commit is contained in:
parent
e9295b04f7
commit
3ed2b30b1d
@ -38,12 +38,12 @@ void statusCycle() {
|
|||||||
if (changeDiff >= 10) {
|
if (changeDiff >= 10) {
|
||||||
lastStart = timeNow;
|
lastStart = timeNow;
|
||||||
|
|
||||||
dataWord = (1 + x);
|
dataWord = (0 + x);
|
||||||
dataState = 7;
|
dataState = 8;
|
||||||
dataDelay = 0;
|
dataDelay = 0;
|
||||||
packetDelay = 0;
|
packetDelay = 0;
|
||||||
packetTail = 100;
|
packetTail = 100;
|
||||||
x = (x + 1) % 1;
|
x = (x + 1) % 8;
|
||||||
clkState = HIGH;
|
clkState = HIGH;
|
||||||
Timer1.initialize(timerDelay);
|
Timer1.initialize(timerDelay);
|
||||||
Timer1.start();
|
Timer1.start();
|
||||||
|
Loading…
Reference in New Issue
Block a user