Is there a function to receive ASCII string terminated with CR/LF?

Don't discount Strings in general. Just avoid the blocking Serial read... methods
Nothing wrong with Strings, they are very safe and easy to use.
The first code example, readStringUntil(), I posted in #14 is non-blocking and returns true when it finds a newline with the whole input line in the String& input argument.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.