Smart Home Automation Forum

Full Version: Lesson11- Apple HomeKit control relay on ESP32 by Arduino IDE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I got following error whrn compile homespan with ESP 32
Any idea of this?
Thx



In file included from C:\Users\xmos\Documents\Arduino\libraries\HomeSpan\examples\05-WorkingLED\05-WorkingLED.ino:39:0:

C:\Users\xmos\Documents\Arduino\libraries\HomeSpan\src/HomeSpan.h: In member function 'String SpanCharacteristic::uvPrint(SpanCharacteristic::UVal&)':

C:\Users\xmos\Documents\Arduino\libraries\HomeSpan\src/HomeSpan.h:305:33: error: use of 'll' length modifier with 'g' type character [-Werror=format=]

        sprintf(c,"%llg",u.FLOAT);