Bellow is a very basic sketch that prints what ever I type on the serial monitor.
Lets say hypothetically I typed “hello” into the serial monitor, is there a way I could alter this sketch to only print ether the “h” or the “E”
String msg = “”;
msg += char(Serial.read());
serialPrint_Sketch.ino (266 Bytes)