mirror of
https://github.com/2martens/uni.git
synced 2026-05-07 03:46:25 +02:00
@ -94,7 +94,7 @@ void loop() {
|
|||||||
bool readable = true;
|
bool readable = true;
|
||||||
while (readable) {
|
while (readable) {
|
||||||
currentChar = Serial.read();
|
currentChar = Serial.read();
|
||||||
readable = (currentChar == -1);
|
readable = (currentChar != -1);
|
||||||
command[i] = currentChar;
|
command[i] = currentChar;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user