workaround the infamous select() bug : first milestone, demo code is coming

This commit is contained in:
2018-12-29 17:07:23 +01:00
parent 560edb14e8
commit 6aa2a26bec
7 changed files with 65 additions and 18 deletions

View File

@@ -26,7 +26,7 @@ void updatevalues(void)
values[foo] += (foo + 1);
}
if (values[foo] > 1023) {
values[foo] = rand()%15;
values[foo] = rand()%25;
}
}
}
@@ -48,7 +48,7 @@ void sendvalues(void)
void loop() {
updatevalues();
sendvalues();
delay(2500);
delay(800);
}
/* -------------------------------------------------- */