You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running the sleep.ino example on a Raspberry Pi Pico with the latest version of the library and get an error when compiling:
C:\Users\Admin\Documents\Arduino\libraries\Adafruit_SleepyDog_Library\utility\WatchdogRP2040.cpp: In member function 'int WatchdogRP2040::sleep(int)':
C:\Users\Admin\Documents\Arduino\libraries\Adafruit_SleepyDog_Library\utility\WatchdogRP2040.cpp:58:3: error: 'delay' was not declared in this scope
58 | delay(maxPeriodMS);
| ^~~~~
exit status 1
Compilation error: exit status 1
Let me know if you need anything else.
The text was updated successfully, but these errors were encountered:
Hi there,
I'm running the
sleep.ino
example on a Raspberry Pi Pico with the latest version of the library and get an error when compiling:C:\Users\Admin\Documents\Arduino\libraries\Adafruit_SleepyDog_Library\utility\WatchdogRP2040.cpp: In member function 'int WatchdogRP2040::sleep(int)': C:\Users\Admin\Documents\Arduino\libraries\Adafruit_SleepyDog_Library\utility\WatchdogRP2040.cpp:58:3: error: 'delay' was not declared in this scope 58 | delay(maxPeriodMS); | ^~~~~ exit status 1 Compilation error: exit status 1
Let me know if you need anything else.
The text was updated successfully, but these errors were encountered: