his important definition is missing. Therefore, some libraries do not work.
Example: DHT22NEW / DHT22Stable.
Is there a possible work around until the official change?
pert
June 3, 2021, 12:13pm
2
You can see the explanation of why it was not defined here:
opened 10:41PM - 26 Aug 20 UTC
closed 08:03PM - 27 Aug 20 UTC
The functions clockCyclesPerMicrosecond, clockCyclesToMicroseconds(a), microseco… ndsToClockCycles(a) are missing from Arduino.h. These functions/defines are present in the other cores (e.g. AVR, SAM, SAMD, ...).
Some libraries (e.g. Adafruit DHT_Sensor_Library, and others on GitHub) use one or more of these functions. This results in an undefined error when building for the Nano 33 BLE.
Do you consider this a bug in the core or an incorrect assumption that these are defined by some library creators?
If these should be defined in the core I'm happy to submit a PR to add them.
If that's the solution, it's the worst possible answer! The "Arduino family" is fluttering further and further apart.
system
Closed
October 1, 2021, 12:18pm
4
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.