I have a problem when having many if statement to check incoming characters from serial.read combined with Serial.print command.
The problem is I’m unable to check for characters. It seems the Serial buffer has an overflow.
The combination having loaded libraries and many if statement, seems to be a problem.
Without loading any library it works well. But if I try to load ex. library ethernet.h, the serial incoming characters ignores or give me a random output. (see attached code).
But if I reduce the if statement and Serial.println lines, ex. remark #help, I can get it work.
So any idea what the problem is?
SerialMenu.txt (10.2 KB)