Done/C++_Python
Convert to C style String <-> C++ style std::string
weasel7
2023. 11. 1. 17:47
728x90
String to std::string
String arduinoStr = "test123";
std::string stdStr(arduinoStr.c_str(), arduinoStr.length());
std::string to String
std::string test = "Hello";
String test_String = String(test.c_str());
728x90