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.
2 parents 13d25e6 + f0a66b0 commit 7062b12Copy full SHA for 7062b12
DHT.h
@@ -47,6 +47,16 @@
47
#define DHT21 21 /**< DHT TYPE 21 */
48
#define AM2301 21 /**< AM2301 */
49
50
+#if (TARGET_NAME == ARDUINO_NANO33BLE)
51
+#ifndef microsecondsToClockCycles
52
+/*!
53
+ * As of 7 Sep 2020 the Arduino Nano 33 BLE boards do not have
54
+ * microsecondsToClockCycles defined.
55
+ */
56
+#define microsecondsToClockCycles(a) ((a) * (SystemCoreClock / 1000000L))
57
+#endif
58
59
+
60
/*!
61
* @brief Class that stores state and functions for DHT
62
*/
0 commit comments