Browse Source

fix dust sensor serial

main
Hendrik Langer 7 years ago
parent
commit
4ac3381b90
  1. 2
      src/main.cpp
  2. 2
      src/main.h

2
src/main.cpp

@ -89,7 +89,7 @@ RunningAverage geigeraverage(10);
Adafruit_BMP085_Unified bmp = Adafruit_BMP085_Unified(10085); Adafruit_BMP085_Unified bmp = Adafruit_BMP085_Unified(10085);
DHT dht(DHT22_PIN, DHTTYPE); DHT dht(DHT22_PIN, DHTTYPE);
SdsDustSensor sds(SDS_RX, SDS_TX); SdsDustSensor sds(SDS_TX, SDS_RX);
volatile unsigned long geiger_counts = 0; volatile unsigned long geiger_counts = 0;
unsigned long geiger_previousMillis; unsigned long geiger_previousMillis;
unsigned long last_dhcp = 0; unsigned long last_dhcp = 0;

2
src/main.h

@ -7,6 +7,6 @@
#define DEBUG_MSG(...) #define DEBUG_MSG(...)
#endif #endif
#define FW_VERSION 18 #define FW_VERSION 20
#endif /* _MAIN_H */ #endif /* _MAIN_H */

Loading…
Cancel
Save