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.

3
  • First off you're not reading the serial properly. You should read and digest this before you go any further: hackingmajenkoblog.wordpress.com/2016/02/01/… Commented Apr 5, 2016 at 17:38
  • The entire while{} loop executes once for each character you read - is that what you intend? I suspect your intent was to read the the whole string and then modify it. If so, perhaps you'd find the Serial.readBytes() function useful. Commented Apr 5, 2016 at 17:41
  • Thanks for your answers. Yes my intent was to read the whole string. This helps me out a lot. Commented Apr 5, 2016 at 17:59