при компиляции ошибка в хабе
Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Плата:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
hub:1:12: error: variable or field 'build' declared void
void build(gh::Builder& b) {
^
hub:1:12: error: 'gh' has not been declared
hub:1:25: error: 'b' was not declared in this scope
void build(gh::Builder& b) {
^
C:\ROBOT\BigClock\BigClock.ino: In function 'void setup()':
BigClock:104:15: error: 'build' was not declared in this scope
hub.onBuild(build); // подключаем билдер
^
C:\ROBOT\BigClock\BigClock.ino: In function 'void loop()':
BigClock:127:12: error: 'gh' does not name a type
static gh::Timer narMon(narod.delay_narod * 1000);
^
BigClock:128:9: error: 'narMon' was not declared in this scope
if (narMon) narodMonitor();
^
C:\ROBOT\BigClock\BrightnessCheck.ino: In function 'void BrightnessCheck()':
BrightnessCheck:3:10: error: 'gh' does not name a type
static gh::Timer timer(other.brg * 1000); // как часто проверять изменение по датчику освещенности в сек
^
BrightnessCheck:4:7: error: 'timer' was not declared in this scope
if (timer) {
^
C:\ROBOT\BigClock\hub.ino: At global scope:
hub:1:12: error: variable or field 'build' declared void
void build(gh::Builder& b) {
^
hub:1:12: error: 'gh' has not been declared
hub:1:25: error: 'b' was not declared in this scope
void build(gh::Builder& b) {
^
exit status 1
variable or field 'build' declared void