I have never used Serial.parseInt() and need to ask a question about it.
The reference documentation indicates that Serial.parseInt() returns 0 if it times out without receiving any digits or (if SKIP_NONE is specified) it receives a non-numeric character.
So if the user actually enters a 0, and 0 is a valid input value for the application, how does one differentiate between the timeout/non-numeric return value and the valid 0 input value?
Perhaps I missed something on the reference page for parseInt(), but I did not see how to answer the above question.
Thanks and best regards,