Cant make E16P work with apple homekit - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-E16S/E16P (https://www.kincony.com/forum/forumdisplay.php?fid=26) +--- Thread: Cant make E16P work with apple homekit (/showthread.php?tid=4061) |
Cant make E16P work with apple homekit - Nikolas Protopapas - 01-02-2024 Hello, so have bought an E16P esp32 board, too the file offer from the forum added them to Arduino IDE. First issue was the <pcf8574.h> had to be in capitals in order to include the library. Second and current issue am having is, error code: the list is way longer just added the first 2 In file included from C:\Users\nicol\OneDrive\Desktop\RealPushButtons\RealPushButtons.ino:7: C:\Users\nicol\OneDrive\Desktop\RealPushButtons\DEV_LED.h: In function 'void PCF_WRITE(int, boolean)': C:\Users\nicol\OneDrive\Desktop\RealPushButtons\DEV_LED.h:59:18: error: cannot convert 'PCF8574' to 'uint8_t' {aka 'unsigned char'} digitalWrite(pcfOUT_1, mPin - 1, !value); //digitalWrite(ex1, (mPin-1), value); In file included from C:\Users\nicol\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\cores\esp32/esp32-hal.h:83, from C:\Users\nicol\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\cores\esp32/Arduino.h:36, from C:\Users\nicol\AppData\Local\Temp\arduino\sketches\B825BA561FA7215E1D76DE33C6DE7CC9\sketch\RealPushButtons.ino.cpp:1: C:\Users\nicol\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\cores\esp32/esp32-hal-gpio.h:75:27: note: initializing argument 1 of 'void digitalWrite(uint8_t, uint8_t)' void digitalWrite(uint8_t pin, uint8_t val); RE: Cant make E16P work with apple homekit - admin - 01-03-2024 see here: https://github.com/HomeSpan/HomeSpan/discussions/394 |