Reliable 0..7 (note: Serial 7E1)

This commit is contained in:
Dejvino 2023-03-29 21:25:28 +02:00
parent e9295b04f7
commit 3ed2b30b1d

View File

@ -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();