compiles now again, but its the old state
This commit is contained in:
parent
13d86ba88f
commit
4ecb478354
1 changed files with 24 additions and 34 deletions
|
@ -51,53 +51,43 @@ struct Sensor_Index {
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
const char name[32];
|
const char name[32];
|
||||||
const byte * reading[SENSOR_MAX_READING];
|
const byte reading[SENSOR_MAX_READING];
|
||||||
byte max;
|
//byte max;
|
||||||
};
|
};
|
||||||
|
|
||||||
const byte SensorIndex_length = 4;
|
const byte SensorIndex_length = 4;
|
||||||
Sensor_Index SensorIndex[] {
|
Sensor_Index SensorIndex[] {
|
||||||
// 0 is for unset in config
|
// 0 is for unset in config
|
||||||
{ "unset",
|
{ "unset", {
|
||||||
{{}},
|
{},
|
||||||
255,
|
}},
|
||||||
},
|
|
||||||
|
|
||||||
// 1 - internal ADC
|
// 1 - internal ADC
|
||||||
{ SENSOR_01_NAME,
|
{ SENSOR_01_NAME, {
|
||||||
SENSOR_01_READINGS,
|
SENSOR_READING_RAW,
|
||||||
ADC_BUILTIN_MAX,
|
}},
|
||||||
},
|
|
||||||
|
|
||||||
{ SENSOR_02_NAME,
|
|
||||||
SENSOR_02_READINGS,
|
|
||||||
ADC_BUILTIN_MAX,
|
|
||||||
},
|
|
||||||
// 2 - BME280
|
// 2 - BME280
|
||||||
//{ SENSOR_02_NAME,
|
{ "BME280", {
|
||||||
//{
|
SENSOR_READING_TEMP,
|
||||||
//SENSOR_READING_TEMP,
|
SENSOR_READING_HUMIDITY,
|
||||||
//SENSOR_READING_HUMIDITY,
|
SENSOR_READING_PRESSURE,
|
||||||
//SENSOR_READING_PRESSURE },
|
}},
|
||||||
//SENSOR_02_READINGS,
|
|
||||||
//3,
|
|
||||||
//},
|
|
||||||
|
|
||||||
// 3
|
// 3
|
||||||
//{ "Chirp", {
|
{ "Chirp", {
|
||||||
//SENSOR_READING_MOISTURE,
|
SENSOR_READING_MOISTURE,
|
||||||
//SENSOR_READING_TEMP,
|
SENSOR_READING_TEMP,
|
||||||
//SENSOR_READING_RAW },
|
SENSOR_READING_RAW,
|
||||||
//4,
|
}},
|
||||||
//},
|
|
||||||
|
|
||||||
// 4
|
// 4
|
||||||
//{ "ADS1115", {
|
{ "ADS1115", {
|
||||||
//SENSOR_READING_RAW,
|
SENSOR_READING_RAW,
|
||||||
//SENSOR_READING_RAW,
|
SENSOR_READING_RAW,
|
||||||
//SENSOR_READING_RAW,
|
SENSOR_READING_RAW,
|
||||||
//SENSOR_READING_RAW
|
SENSOR_READING_RAW
|
||||||
//}},
|
}},
|
||||||
|
|
||||||
// 5
|
// 5
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue