Search found 2 matches
- Mon Feb 28, 2022 6:54 am
- Forum: ESP32 Arduino
- Topic: How to display all char with string format in split string method
- Replies: 2
- Views: 2536
Re: How to display all char with string format in split string method
Just to show you why your current setup does what it does: const unsigned char* str = data->payload; //Grab the payload const char tokens = *str; //Grab the first character, and store it into the 8-bit variable 'tokens' String stringku =String (tokens) //Make a string out of that first character Th...
- Sun Feb 27, 2022 8:06 pm
- Forum: ESP32 Arduino
- Topic: How to display all char with string format in split string method
- Replies: 2
- Views: 2536
How to display all char with string format in split string method
I'm making a college final project, namely esp32 cam qr code scanner but I found a problem that I can't bring up all strings in the split string method that I use, I assume that the library I use, namely "data->payload" is uin8_t and not can be converted to string, is there any solution? Sorry, I'm ...