Open Julien83 opened 1 year ago
this ok i compiled with not good library. but now i have this :
/home/julien/Arduino/wos/wos/Watchy.cpp: In member function 'void Watchy::init(esp_sleep_wakeup_cause_t)':
/home/julien/Arduino/wos/wos/Watchy.cpp:21:23: error: 'ALARM_2' was not declared in this scope
RTC.alarm(ALARM_2); //resets the alarm flag in the RTC
^~~
/home/julien/Arduino/wos/wos/Watchy.cpp: In member function 'void Watchy::_rtcConfig()':
/home/julien/Arduino/wos/wos/Watchy.cpp:43:20: error: 'SQWAVE_NONE' was not declared in this scope
RTC.squareWave(SQWAVE_NONE); //disable square wave output
^~~
/home/julien/Arduino/wos/wos/Watchy.cpp:43:20: note: suggested alternative: 'SIGEV_NONE'
RTC.squareWave(SQWAVE_NONE); //disable square wave output
^~~
SIGEV_NONE
/home/julien/Arduino/wos/wos/Watchy.cpp:45:18: error: 'ALM2_EVERY_MINUTE' was not declared in this scope
RTC.setAlarm(ALM2_EVERY_MINUTE, 0, 0, 0, 0); //alarm wakes up Watchy every minute
^~~~~
/home/julien/Arduino/wos/wos/Watchy.cpp:46:24: error: 'ALARM_2' was not declared in this scope
RTC.alarmInterrupt(ALARM_2, true); //enable alarm interrupt
^~~
/home/julien/Arduino/wos/wos/Watchy.cpp: In member function 'void Watchy::handleButtonPress()':
/home/julien/Arduino/wos/wos/Watchy.cpp:87:17: error: 'ALARM_2' was not declared in this scope
RTC.alarm(ALARM_2); //resets the alarm flag in the RTC
^~~
/home/julien/Arduino/wos/wos/Watchy.cpp: In member function 'weatherData Watchy::getWeatherData()':
/home/julien/Arduino/wos/wos/Watchy.cpp:455:9: error: 'HTTPClient' was not declared in this scope
HTTPClient http;
^~~~~~
/home/julien/Arduino/wos/wos/Watchy.cpp:455:9: note: suggested alternative: 'HttpClient'
HTTPClient http;
^~~~~~
HttpClient
/home/julien/Arduino/wos/wos/Watchy.cpp:456:9: error: 'http' was not declared in this scope
http.setConnectTimeout(3000);//3 second max timeout
^~~~
Multiple libraries were found for "WiFi.h"
Used: /home/julien/.arduino15/packages/esp32/hardware/esp32/2.0.7/libraries/WiFi
Not used: /home/julien/Arduino/libraries/WiFi
exit status 1
Compilation error: 'ALARM_2' was not declared in this scope
I also have this error
I try to compile your project and i have this :
Compilation error: 'class BLECharacteristic' has no member named 'getValue'; did you mean 'setValue'?