Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By torntrousers
#17397
torntrousers wrote:More battery powered fun...

No idea why its started off for a day saying the voltage was 4.9v, a multimeter was showing just 4.12v.


I found why that was reporting 4.9 at the start. If you have this code:
Code: Select all  float f = 4.09;
  String url = "f=";
  url += f;
  Serial.println(url);

it outputs:
Code: Select allf=4.9

Really! Try it. Is that a bug somewhere or something about Strings that I'm misunderstanding?