maxtox
maxtox
I have following "problems": 1. to send payload i have to convert int, float or bool to char: i am doing it like this ``` char warn[5]; int nn=0.00; dtostrf(warn,4,3,nn);...
Thanks! 1. so you mean that is wrong? char warn[5]; int nn=0.00; dtostrf(warn,4,3,nn); it is a float conversation? isnt it? 2. do you have a link how to do it...
cool... and for int would be ? payload[length] = '\0'; String s = String((char*)payload); int i= s.toInt();