sensor wip
This commit is contained in:
parent
6d94bb224c
commit
6ac79f2978
2 changed files with 6 additions and 3 deletions
|
@ -28,5 +28,8 @@
|
|||
*/
|
||||
|
||||
#define SENSOR_01_NAME "ADC builtin"
|
||||
#define ADC_BUILTIN_MAX 0
|
||||
#define SENSOR_01_MAXUNITS 0
|
||||
|
||||
short Sensor01_AnalogRaw() {
|
||||
return 2;
|
||||
}
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
|
||||
|
||||
#define SENSOR_02_NAME "BME280"
|
||||
#define BME280_MAX 2
|
||||
#define SENSOR_02_MAXUNITS 2
|
||||
|
||||
|
||||
Adafruit_BME280 BME280[BME280_MAX];
|
||||
Adafruit_BME280 BME280[SENSOR_02_MAXUNITS];
|
||||
|
||||
void Sensor_Bme280_Init(byte sensorId) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue