Error after using string

String is an Arduino.h class. There are raw char* as strings (for functions from string.h) and the std::string C++ datastructure (from #include <string>).

Confusion with strings and string size in C++ - #2 by maxgerhardt explains more.

1 Like