From 4ac3381b90caf722bbafb534efaeb4e72b113be3 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Mon, 25 Jun 2018 17:36:03 +0200 Subject: [PATCH] fix dust sensor serial --- src/main.cpp | 2 +- src/main.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index c6b76a9..8441e8e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -89,7 +89,7 @@ RunningAverage geigeraverage(10); Adafruit_BMP085_Unified bmp = Adafruit_BMP085_Unified(10085); DHT dht(DHT22_PIN, DHTTYPE); -SdsDustSensor sds(SDS_RX, SDS_TX); +SdsDustSensor sds(SDS_TX, SDS_RX); volatile unsigned long geiger_counts = 0; unsigned long geiger_previousMillis; unsigned long last_dhcp = 0; diff --git a/src/main.h b/src/main.h index a91cce9..4baed81 100644 --- a/src/main.h +++ b/src/main.h @@ -7,6 +7,6 @@ #define DEBUG_MSG(...) #endif -#define FW_VERSION 18 +#define FW_VERSION 20 #endif /* _MAIN_H */