Arduino trying to get DHT senosors to work
This commit is contained in:
parent
5fd432ee4c
commit
eff019c012
7 changed files with 196 additions and 120 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#define ENABLE_DEBUG // comment out to disable debug
|
||||
|
||||
#define TIMER_MILLISECOND 60*1000 // poling in minutes
|
||||
#define TIMER_MILLISECOND 10*1000 // poling in minutes
|
||||
#define INDICATOR_PIN 13 // diod
|
||||
|
||||
// POWER CONSUMPTION SENSOR
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
// TEMPERATURE SENSOR
|
||||
#define TEMPERATURE_ENABLED // comment out to disable sensor
|
||||
#define TEMPERATURE_SENSOR SensorDHT11(10)
|
||||
#define TEMPERATURE_SENSOR SensorDHT(DHT22, 10)
|
||||
#define TEMPERATURE_PROTOCOL ProtocolOregon(11, 100)
|
||||
#define TEMPERATURE_TIMER_MULTIPLIER 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue