hal/arduino/HalMultiSensor/HalConfiguration.h

31 lines
985 B
C
Raw Normal View History

#ifndef HALCONFIGURATION_H
#define HALCONFIGURATION_H
2016-06-10 21:50:59 +02:00
//#define ENABLE_DEBUG // comment out to disable debug
2016-07-08 22:14:23 +02:00
#define TIMER_MILLISECOND 60000 // poling in minutes
#define INDICATOR_PIN 13 // diode
#define DEVICE_BASE_ID 20
2016-06-10 19:33:26 +02:00
// POWER CONSUMPTION SENSOR
2016-06-10 21:50:59 +02:00
//#define POWERCON_ENABLED // comment out to disable sensor
#define POWERCON_SENSOR SensorPhotocell()
2016-07-08 22:14:23 +02:00
#define POWERCON_PROTOCOL ProtocolOregon(11, DEVICE_BASE_ID + 1)
#define POWER_TIMER_MULTIPLIER 1
// TEMPERATURE SENSOR
2016-06-10 19:33:26 +02:00
#define TEMPERATURE_ENABLED // comment out to disable sensor
2016-07-08 22:14:23 +02:00
#define TEMPERATURE_SENSOR SensorDHT(DHT11, 10)
#define TEMPERATURE_PROTOCOL ProtocolOregon(11, DEVICE_BASE_ID + 2)
2016-06-10 19:33:26 +02:00
#define TEMPERATURE_TIMER_MULTIPLIER 10
// LIGHT SENSOR
2016-07-08 22:14:23 +02:00
#define LIGHT_ENABLED // comment out to disable sensor
#define LIGHT_SENSOR SensorBH1750()
#define LIGHT_PROTOCOL ProtocolOregon(11, DEVICE_BASE_ID + 3)
2016-06-10 19:33:26 +02:00
#define LIGHT_TIMER_MULTIPLIER 10
2016-02-24 21:51:16 +01:00
#endif // HALCONFIGURATION_H