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*

7
  • 3
    Write it as a finite state machine with none of those whiles and delays. Commented Oct 4, 2017 at 11:30
  • Finite state machine? couldn't catch it. any example(s)? Commented Oct 4, 2017 at 11:34
  • hackingmajenkoblog.wordpress.com/2016/02/01/… Commented Oct 4, 2017 at 11:56
  • Dual processors is another idea. Commented Oct 4, 2017 at 12:18
  • Are you running that code in loop? Are you starting the server in every loop execution? Post your complete sketch, because your code as is doesn't make sense. Commented Oct 4, 2017 at 12:38