Quote Originally Posted by EarlyBird2 View Post
Amoque,

I really do not understand the []. Where do they come from?
I don't know... I was quoting the OP. If the output is a direct quote, there is much about it I don't understand. Why TWO zeros (in addition to the brackets)? PicBasic doesn't default to double digit display; perhaps the subroutine fails and runs through another subroutine or the WDT causes a second response. Perhaps the brackets were only added for clarity.

For myself, I think that I'd:

1) Set a default value for Cereal, so as to know it was changed (or not).
2) Extend the timeout so that I could be sure that no amount of key-banging elicited an input.
3) Format the output as DEC or BIN so as to standardize the output.