Fixed WDT timer code, still not dynamic
This commit is contained in:
parent
2ba3c42a5e
commit
20023c48e0
5 changed files with 69 additions and 30 deletions
|
|
@ -1,24 +1,27 @@
|
|||
#ifndef HALCONFIGURATION_H
|
||||
#define HALCONFIGURATION_H
|
||||
|
||||
#define ENABLE_DEBUG // comment out to disable debug
|
||||
|
||||
#define TIMER_MILLISECOND 60*1000 // poling in minutes
|
||||
|
||||
// POWER CONSUMPTION SENSOR
|
||||
#define POWERCON_ENABLED // comment out to disable sensor
|
||||
#define POWERCON_SENSOR SensorBH1750()
|
||||
#define POWERCON_PROTOCOL ProtocolOregon(118)
|
||||
#define POWER_TIMER_MULTIPLIER 1 // poling in minutes
|
||||
#define POWER_TIMER_MULTIPLIER 1
|
||||
|
||||
// TEMPERATURE SENSOR
|
||||
#define TEMPERATURE_ENABLED // comment out to disable sensor
|
||||
#define TEMPERATURE_SENSOR SensorDHT11(5)
|
||||
#define TEMPERATURE_PROTOCOL ProtocolOregon(100)
|
||||
#define TEMPERATURE_TIMER_MULTIPLIER 1 // poling in minutes
|
||||
#define TEMPERATURE_TIMER_MULTIPLIER 1
|
||||
|
||||
// LIGHT SENSOR
|
||||
//#define LIGHT_ENABLED // comment out to disable sensor
|
||||
#define LIGHT_SENSOR SensorDH1750()
|
||||
#define LIGHT_PROTOCOL ?
|
||||
#define LIGHT_TIMER_MULTIPLIER 1 // poling in minutes
|
||||
#define LIGHT_TIMER_MULTIPLIER 1
|
||||
|
||||
|
||||
#endif // HALCONFIGURATION_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue