Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By JohnPap70
#31903 Hi to everyone!

I was compiling some code with the ESP8266 and the Arduino IDE. I was trying to add a floating point value to a string inside the Up.write function. But I am always getting an error message.

How I can resolve that?

For example:
Code: Select allfloat position;
position = 23.5;
Udp.write("Value is" + position);


But this creates errors. Any help on that?
User avatar
By kolban
#31911 What are the nature of the errors? What messages (if any) are produced?