Smart Home Automation Forum
Lesson11- Apple HomeKit control relay on ESP32 by Arduino IDE - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: KC868-A series and Uair Smart Controller (https://www.kincony.com/forum/forumdisplay.php?fid=6)
+--- Thread: Lesson11- Apple HomeKit control relay on ESP32 by Arduino IDE (/showthread.php?tid=296)



Lesson11- Apple HomeKit control relay on ESP32 by Arduino IDE - admin - 06-19-2021




RE: Lesson11- Apple HomeKit control relay on ESP32 by Arduino IDE - drfungyy - 02-08-2022

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);