Hello!
I've got a sketch that gets text characters from the serial (USB) port that's connected to a PC running Putty. The user types in commands. A chr(13) (Enter key) indicates the end of the text.
I check for a char 13 to detect the end of the command without any problem, but I can't detect the back space char 8:
if (inChar == 13) {
whatever
}
if (inChar == 8) ...
I added a Serial.println(inChar); to display the ASCII of the char and it displays 12 for the backspace char.
How can I check for the BS char?
Thanks! Sgarciav