Closed oneandonlyonebutyou closed 2 years ago
Sorry - I responded to you via email but it appears it did not post here.
printf
only works with C strings (it is a C language function, not C++). If you have a String object, you can access that via the c_str
member function:
printf("%s\n", s.c_str());
I have a
Serial.print(s); // works printf("%s\n",s). << Does not work :(