Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Thank you Chris, the if-else statements have changed on my second revision of the code, since the serial output doesn't have the blank line anymore. Do you think deleting everything from my Arduino folder under the Windows user folder would help? The newline or carriage return can be causing the 0 character to show up automatically on the serial output on my integer code. Commented Jan 4, 2018 at 18:03
  • No, don't wipe your install, rather see the documentation for parseInt and what it says it does if input times out with no number entered. Commented Jan 4, 2018 at 18:31