1
0
Fork 0

only read command if port is ready

This commit is contained in:
Kevin Matz 2019-07-30 10:16:07 -04:00
parent a8b3697d06
commit bedd122047
1 changed files with 3 additions and 1 deletions

View File

@ -267,7 +267,9 @@ void setup() {
//
void loop() {
// read from serial port
readCommand();
if (Serial) {
readCommand();
}
// sequence the arm.
r.sequence();