hal/arduino/HalMultiSensor/HalConfiguration.h

30 lines
889 B
C
Raw Normal View History

#ifndef HALCONFIGURATION_H
#define HALCONFIGURATION_H
2016-06-10 19:33:26 +02:00
#define ENABLE_DEBUG // comment out to disable debug
#define TIMER_MILLISECOND 60*1000 // poling in minutes
#define INDICATOR_PIN 13 // diode
2016-06-10 19:33:26 +02:00
// POWER CONSUMPTION SENSOR
#define POWERCON_ENABLED // comment out to disable sensor
#define POWERCON_SENSOR SensorPhotocell()
#define POWERCON_PROTOCOL ProtocolOregon(11, 186)
#define POWER_TIMER_MULTIPLIER 1
// TEMPERATURE SENSOR
2016-06-10 19:33:26 +02:00
#define TEMPERATURE_ENABLED // comment out to disable sensor
#define TEMPERATURE_SENSOR SensorDHT(DHT22, 10)
2016-05-10 16:04:39 +02:00
#define TEMPERATURE_PROTOCOL ProtocolOregon(11, 100)
2016-06-10 19:33:26 +02:00
#define TEMPERATURE_TIMER_MULTIPLIER 10
// LIGHT SENSOR
2016-02-24 15:31:51 +01:00
//#define LIGHT_ENABLED // comment out to disable sensor
#define LIGHT_SENSOR SensorDH1750()
2016-02-24 15:31:51 +01:00
#define LIGHT_PROTOCOL ?
2016-06-10 19:33:26 +02:00
#define LIGHT_TIMER_MULTIPLIER 10
2016-02-24 21:51:16 +01:00
#endif // HALCONFIGURATION_H