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