So, I’m trying to write a program that utilizes UDP (I am aware of the problems), but I am having trouble converting a string to a buffer so I can send the message.
Currently, I have something that looks like this:
String msgS = String(value, ", tempF");
char msgB[512]; ^
msgS.getBytes(msgB, 512) |
|
|
(this is an integer)
And then I get this error:
33:28: error: invalid conversion from 'char*' to 'unsigned char*' [-fpermissive]
Any help would be great!