this is probably stupid, but I could not find consistent reply to my question by 30min of googling.
Serial.read() function reads the input from Serial Monitor one byte after another when you
press enter, does it read the “enter” aka carriage return ‘/n’ ?
Using example from this page
it never gives the ASCII for ‘enter key’ nor it never reacts when you enter an empty line.
But lot of example code on the internet and even in libraries is checking condition
Serial.read() == ‘/n’ which I seem to be unable to achieve.
Thank you for your input…