nekromant / esphome-lctech-4chanel-modules

ESPHome configs for LC-tech 4 channel modules.
12 stars 6 forks source link

Error 2022 #7

Open Kirill-KKK opened 2 years ago

Kirill-KKK commented 2 years ago

Thank you so much for your project! I would really like to use it, but I'm not good at programming, when I try to build, I get this:

In file included from src/main.cpp:49: src/lccomponent.h: In member function 'virtual void LCButtons::setup()': src/lccomponent.h:17:5: error: 'setTimeout' was not declared in this scope; did you mean 'set_timeout'? 17 | setTimeout(150); | ^~~~~~ | set_timeout src/lccomponent.h: In member function 'void LCButtons::update_button(uint8_t)': src/lccomponent.h:28:15: error: 'readBytesUntil' was not declared in this scope 28 | int ret = readBytesUntil('\n', tmp, 8); | ^~~~~~ Compiling .pioenvs/relay-x4/lib988/ESP8266WiFi/WiFiClientSecureBearSSL.cpp.o Compiling .pioenvs/relay-x4/lib988/ESP8266WiFi/WiFiServer.cpp.o *** [.pioenvs/relay-x4/src/main.cpp.o] Error 1 ========================= [FAILED] Took 52.41 seconds =========================

What I use. user@orangepipcplus:~$ esphome version Version: 2022.5.1

|-- <ESPAsyncTCP-esphome> 1.2.3
|-- <ESPAsyncWebServer-esphome> 2.1.0
|   |-- <ESPAsyncTCP-esphome> 1.2.3
|   |-- <Hash> 1.0
|   |-- <ESP8266WiFi> 1.0
|-- <ESP8266WiFi> 1.0
|-- <ESP8266mDNS> 1.2
|-- <noise-c> 0.1.4
|   |-- <libsodium> 1.10018.1
|-- <ArduinoJson> 6.18.5