refresh on new char
This commit is contained in:
parent
41661cd05d
commit
0860b568af
1 changed files with 3 additions and 3 deletions
|
@ -234,12 +234,12 @@ void setup() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
char old_char = ' ';
|
||||||
void loop() {
|
void loop() {
|
||||||
// delay(1000);
|
// delay(1000);
|
||||||
// udp.broadcast("Anyone here?");
|
// udp.broadcast("Anyone here?");
|
||||||
|
|
||||||
// myservo.write(bindex);
|
if (in_char != old_char) {
|
||||||
for (int i = 0; i < 6; i++) {
|
old_char = in_char;
|
||||||
servos[i].servo.write(brailleMap[in_char].servoStates[i] * 180);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue