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.

2
  • note: you have inconsistent indentation in your code .... the first line and the last two lines should be indented 2 spaces .... they are on the same level as the while (true) { line .... the three lines of the if block should be indented 2 spaces less .......... incorrect indentation adds confusion to debugging Commented Aug 20, 2018 at 23:45
  • this is not about Arduino. it is C Commented Aug 21, 2018 at 4:43