Works! (forgot essential piece of code). Softserial communication from another device will trigger commands

This commit is contained in:
Matt McWilliams 2023-02-13 15:31:21 -05:00
parent 0c02830da8
commit 2a40957636
1 changed files with 5 additions and 1 deletions

View File

@ -102,6 +102,10 @@ void loop() {
cmdChar = (char)softSerial.read();
}
if (cmdChar != 'z') {
cmd(cmdChar);
}
cmdChar = 'z';
btn(Fmotor);