I'm getting the error below when compiling. I'm using:
- Arduino IDE 2.0.3
- ArduioWebsockets by Gil Maimon 0.5.3
- M5Stick-C-Plus
`[filepath]ProPresenterClicker.ino: In function 'void setup()':
[filepath]ProPresenterClicker.ino:218:40: error: 'SYSTEM_EVENT_STA_GOT_IP' is not a member of 'arduino_event_id_t'
WiFi.onEvent(WiFiGotIP, WiFiEvent_t::SYSTEM_EVENT_STA_GOT_IP);
^~~~~~~~~~~~~~~~~~~~~~~
[filepath]ProPresenterClicker.ino:219:47: error: 'SYSTEM_EVENT_STA_DISCONNECTED' is not a member of 'arduino_event_id_t'
WiFi.onEvent(WiFiDisconnected, WiFiEvent_t::SYSTEM_EVENT_STA_DISCONNECTED);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
exit status 1
Compilation error: 'SYSTEM_EVENT_STA_GOT_IP' is not a member of 'arduino_event_id_t'`
Any thoughts? Thanks!