Compile error v0.6.2


I’m working with the Photon and I have a problem with the new version of the firmware, I’m using the code of the pic from a few months ago but now with the version 0.6.2 the compiler shows me the following error on lines 255, 260 and 265:

converting to ‘String’ from initializer list would use explicit constructor ‘String::String(int, unsigned char)’

Any ideas of how can I fix it?

Hope to receive an answer soon.

@Sara2809, this may be a new issue in 0.6.2 (and related rc’s) which @ScruffR has logged in the firmware repo. Try compiling with firmware version 0.6.1 or 0.6.0.

1 Like

If this is part of your own code, you can change the NULL “String” for "" which internally will have the same result.

1 Like

That worked!

Thank you so much!

1 Like