arduino string to const char* code example Example: convert string to const char* arduino const char *c = str.c_str();