sensor wip

This commit is contained in:
Marcus 2024-12-05 00:34:28 +01:00
parent 6d94bb224c
commit 6ac79f2978
2 changed files with 6 additions and 3 deletions

View file

@ -28,5 +28,8 @@
*/ */
#define SENSOR_01_NAME "ADC builtin" #define SENSOR_01_NAME "ADC builtin"
#define ADC_BUILTIN_MAX 0 #define SENSOR_01_MAXUNITS 0
short Sensor01_AnalogRaw() {
return 2;
}

View file

@ -32,10 +32,10 @@
#define SENSOR_02_NAME "BME280" #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) { void Sensor_Bme280_Init(byte sensorId) {