why are you reading the Serial input 3 times?
read only once and then test against the 3 possible cases.
we would advise against Serial.readStringUntil() and would suggest to study Serial Input Basics to understand how to deal with Serial input
why are you reading the Serial input 3 times?
read only once and then test against the 3 possible cases.
we would advise against Serial.readStringUntil() and would suggest to study Serial Input Basics to understand how to deal with Serial input