Hi all, I am trying to write a sketch that will allow me to control a few of the digital outputs on a Uno via the serial port (USB). No problem there, using single chancters and switch case for any characters after a serial event.
My issue is that one of the cases, for example if I send a ASCII g I want all the following serial characters received by the uno to be forwarded to pin 10 and 11 software serial wise. Then if I send a very specific character e.g. G it exits the loop and again allows for control of the digital pins.
I got something like this working already, and will try and post the code shortly.. (not on same computer now). The issue is I am loosing characters when I send data to the uno that do not get forwarded to the software serial port.... I think because of the while loop I have it in....
Any ideas?... thanks for the help :)