Code no work on esp
Posted: Tue Mar 30, 2021 1:45 am
Sorry, maybe someone has a solution, I have a problem with converting strings to char aray
void stringTochar (String text)
{
char * tx = text.c_str ();
}
If compiled on board uno / nano / promini it can work, but if on board esp8266 / esp32 an error appears. What's the difference between c ++ Arduino and esp. Thank you
void stringTochar (String text)
{
char * tx = text.c_str ();
}
If compiled on board uno / nano / promini it can work, but if on board esp8266 / esp32 an error appears. What's the difference between c ++ Arduino and esp. Thank you