some arduino refactoring
Former-commit-id: f5b74a8a1f10400579ef2267f39a7a03f551ad27
This commit is contained in:
parent
bbb9996d56
commit
588507621a
4 changed files with 46 additions and 10 deletions
26
arduino/HalMultiSensor/HalConfiguration.h
Executable file
26
arduino/HalMultiSensor/HalConfiguration.h
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef HALCONFIGURATION_H
|
||||
#define HALCONFIGURATION_H
|
||||
|
||||
#include "Definitions.h"
|
||||
|
||||
#define POLTIME 60*10 // poling in seconds
|
||||
|
||||
// POWER CONSUMPTION SENSOR
|
||||
#define POWERCON_ENABLED // comment out to disable sensor
|
||||
#define POWERCON_HARDWARE HW_BH1750
|
||||
#define POWERCON_PROTOCOL PROT_OREGON
|
||||
|
||||
// TEMPERATURE SENSOR
|
||||
#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
|
||||
|
||||
// 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
|
||||
|
||||
|
||||
#endif // HALCONFIGURATION_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue