Przeglądaj źródła

Added ‘#define COUNT 40‘ for WioLTE

40 count is a probable value debug from read() functionality.
Lambor 8 lat temu
rodzic
commit
6731e1d08c
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      DHT.h

+ 2 - 0
DHT.h

@@ -12,6 +12,8 @@
 // 16 MHz(ish) AVR --------------------------------------------------------
 #elif (F_CPU >= 15400000UL) && (F_CPU <= 19000000L)
 #define COUNT 6
+#elif defined(STM32)
+#define COUNT 40
 #else
 #error "CPU SPEED NOT SUPPORTED"
 #endif