-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
F_CPU define is missing #221
Comments
That would be a very important addition! The only library for the DHT22 sensor therefore does not work. And some others probably too. |
Any fast work around? |
A library using F_CPU to calculate timing is unlikely to work with this core (since the underlying RTOS does not guarantee that a busy loop is not getting interrupted). |
My use case was for printing debug information, so setting F_CPU to zero isn't that helpful. The fact that some libraries use the CPU speed for timing without taking architecture into account need to be fixed in any case. |
The preprocessor define for CPU speed, F_CPU, is not defined for RaspberryPi Pico, but seems to be defined for other Arduino boards. Any sketch or library that uses this definition will fail to build.
Thanks!
The text was updated successfully, but these errors were encountered: