Marcus 2024-11-18 23:11:04 +01:00
parent 4ecb478354
commit 270806e5fa
3 changed files with 13 additions and 33 deletions

View file

@ -62,33 +62,19 @@ Sensor_Index SensorIndex[] {
{},
}},
// 1 - internal ADC
{ SENSOR_01_NAME, {
SENSOR_READING_RAW,
}},
// 1 - internal ADC
{ SENSOR_01_NAME,
{
SENSOR_READING_TEMP
},
},
// 2 - BME280
{ "BME280", {
SENSOR_READING_TEMP,
SENSOR_READING_HUMIDITY,
SENSOR_READING_PRESSURE,
}},
// 3
{ "Chirp", {
SENSOR_READING_MOISTURE,
SENSOR_READING_TEMP,
SENSOR_READING_RAW,
}},
// 4
{ "ADS1115", {
SENSOR_READING_RAW,
SENSOR_READING_RAW,
SENSOR_READING_RAW,
SENSOR_READING_RAW
}},
// 5
{ SENSOR_02_NAME,
{
SENSOR_READING_TEMP,
SENSOR_READING_HUMIDITY,
SENSOR_READING_PRESSURE
},
}
};

View file

@ -30,4 +30,3 @@
#define SENSOR_01_NAME "ADC builtin"
#define ADC_BUILTIN_MAX 0
const byte SENSOR_01_READINGS[] = { SENSOR_READING_RAW };

View file

@ -33,11 +33,6 @@
#define SENSOR_02_NAME "BME280"
#define BME280_MAX 2
const byte SENSOR_02_READINGS[] = {
SENSOR_READING_TEMP,
SENSOR_READING_HUMIDITY,
SENSOR_READING_PRESSURE };
Adafruit_BME280 BME280[BME280_MAX];