adafruit / adafruit/DHT-sensor-library
switch from Arm Mbed to Zephyr RTOS breaks compile of DHT library...
Open
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
The following error happens when compiling in the latest version of Arduino IDE (2.3.5) likely related to the switch from Arm Mbed to Zephyr RTOS.
`DHT_sensor_library/DHT.cpp:51:7: error: 'microsecondsToClockCycles' was not declared in this scope
51 | microsecondsToClockCycles(1000); // 1 millisecond timeout for`
Contributor guide
Research direction
Start at DHT_sensor_library/DHT.cpp line 51 and reproduce the compile failure in Arduino IDE 2.3.5 using the affected Arm Mbed-to-Zephyr setup. Trace why microsecondsToClockCycles is unavailable there; done means the DHT library compiles successfully without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arduino, cpp
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100