Print output from softSerial

This commit is contained in:
Matt McWilliams 2023-02-13 15:40:56 -05:00
parent 2a40957636
commit 84d3c68f31
1 changed files with 4 additions and 0 deletions

View File

@ -29,4 +29,8 @@ void loop () {
softSerial.write(cmdChar); softSerial.write(cmdChar);
Serial.println(cmdChar); Serial.println(cmdChar);
} }
if (softSerial.available()) {
cmdChar = (char)softSerial.read();
Serial.println(cmdChar);
}
} }