26 lines
813 B
C
Executable file
26 lines
813 B
C
Executable file
#ifndef HALCONFIGURATION_H
|
|
#define HALCONFIGURATION_H
|
|
|
|
#include "HalDefinitions.h"
|
|
|
|
|
|
// POWER CONSUMPTION SENSOR
|
|
#define POWERCON_ENABLED // comment out to disable sensor
|
|
#define POWERCON_HARDWARE HardwareBH1750()
|
|
#define POWERCON_PROTOCOL ProtocolOregon(118)
|
|
#define POWER_TIMER_MULTIPLIER 1 // poling in minutes
|
|
|
|
// TEMPERATURE SENSOR
|
|
#define TEMPERATURE_ENABLED // comment out to disable sensor
|
|
#define TEMPERATURE_HARDWARE HardwareDHT11(5)
|
|
#define TEMPERATURE_PROTOCOL ProtocolOregon(100)
|
|
#define TEMPERATURE_TIMER_MULTIPLIER 1 // poling in minutes
|
|
|
|
// LIGHT SENSOR
|
|
//#define LIGHT_ENABLED // comment out to disable sensor
|
|
#define LIGHT_HARDWARE HardwareDH1750()
|
|
#define LIGHT_PROTOCOL ?
|
|
#define LIGHT_TIMER_MULTIPLIER 1 // poling in minutes
|
|
|
|
|
|
#endif // HALCONFIGURATION_H
|