Quote:
Originally Posted by lynca
Have you tried a while loop instead of and if just too make sure it is not a timing problem.
|
Can you rephrase that? I can't tell what you mean.
As I understand it, the OperatorControl() function is already inside a while loop.
Quote:
|
I've done a custom echo terminal and usually I start with a while() loop that constantly reads the serial port and then writes back when the input is none null.
|
I thought that's exactly what I did (assuming you mean "not zero" where you wrote "none null").
Quote:
|
If the while loop works, you might want to consider putting timestamps to see if there is a latency wait before checking the ReadSerialPort
|
Could you elaborate on that?