Merge branch 'nano-revision-2.0' into nano-5
This commit is contained in:
@@ -41,13 +41,13 @@
|
|||||||
//#define LOG_TO_SERIAL
|
//#define LOG_TO_SERIAL
|
||||||
#define SEND_485
|
#define SEND_485
|
||||||
|
|
||||||
SimpleDHT22 sensor(DHT_PIN);
|
|
||||||
|
|
||||||
boolean raw_states[8];
|
boolean raw_states[8];
|
||||||
boolean states[8];
|
boolean states[8];
|
||||||
unsigned long capacitor[8];
|
unsigned long capacitor[8];
|
||||||
unsigned long times[8];
|
unsigned long times[8];
|
||||||
unsigned long sensor_time = 0;
|
unsigned long sensor_time = 0;
|
||||||
|
|
||||||
|
SimpleDHT22 sensor(DHT_PIN);
|
||||||
float temperature = 0;
|
float temperature = 0;
|
||||||
float humidity = 0;
|
float humidity = 0;
|
||||||
int err = SimpleDHTErrSuccess;
|
int err = SimpleDHTErrSuccess;
|
||||||
|
|||||||
Reference in New Issue
Block a user