We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13d25e6 commit a1f0c1cCopy full SHA for a1f0c1c
DHT.h
@@ -47,6 +47,13 @@
47
#define DHT21 21 /**< DHT TYPE 21 */
48
#define AM2301 21 /**< AM2301 */
49
50
+#if (TARGET_NAME==ARDUINO_NANO33BLE)
51
+// As of 7 Sep 2020 the Arduino Nano 33 BLE boards do not have microsecondsToClockCycles defined.
52
+#ifndef microsecondsToClockCycles
53
+#define microsecondsToClockCycles(a) ( (a) * (SystemCoreClock / 1000000L) )
54
+#endif
55
56
+
57
/*!
58
* @brief Class that stores state and functions for DHT
59
*/
0 commit comments