mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
Bridge: slowing down ConsoleRead a bit to keep the python side of the Bridge from consuming 100% of the CPU
This commit is contained in:
parent
b50cfb9f06
commit
98da28a3ce
@ -53,6 +53,8 @@ void loop() {
|
||||
else { // if the buffer is empty Cosole.read() returns -1
|
||||
name += c; // append the read char from Console to the name string
|
||||
}
|
||||
} else {
|
||||
delay(100);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user