Some more work on Hal Arduino sensor. issue 18

This commit is contained in:
Ziver Koc 2016-02-24 14:37:48 +01:00
parent 050addfa31
commit c9a030774b
8 changed files with 128 additions and 33 deletions

View file

@ -3,7 +3,6 @@
#include "Definitions.h"
#define POLTIME 60*10 // poling in seconds
// POWER CONSUMPTION SENSOR
#define POWERCON_ENABLED // comment out to disable sensor
@ -14,13 +13,13 @@
#define TEMPERATURE_ENABLED // comment out to disable sensor
#define TEMPERATURE_HARDWARE HW_DHT11
#define TEMPERATURE_PROTOCOL PROT_OREGON
#define TEMPERATURE_POL_MULTIPLE 1 // poling in seconds
#define TEMPERATURE_TIMER_MULTIPLIER 1 // poling in minutes
// LIGHT SENSOR
#define LIGHT_ENABLED // comment out to disable sensor
#define LIGHT_HARDWARE HW_BHI750
#define LIGHT_PROTOCOL PROT_OREGON
#define LIGHT_POL_MULTIPLE 1 // poling in seconds
#define LIGHT_TIMER_MULTIPLIER 1 // poling in minutes
#endif // HALCONFIGURATION_H