2022-03-04 01:17 PM
How to convert uint8_t and Char arrays to string and int ?
How can I use ( .substring(0,7)) function in STM32CubeIDE ?
2022-03-04 01:24 PM
You mean C++ string objects?
const char * text = "Hello world";
std::string variable(text);
C++ strings have a substr function, if that's what you mean.
std::string new_variable = variable.substr(0, 7);
Dynamic memory allocation isn't advised on MCUs with limited processing power.
2022-03-06 12:20 AM
Thanks for you