workaround the infamous select() bug : first milestone, demo code is coming
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/* -------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user