Merge pull request #498 from Dr-Gandalf/master

add ligth sensor to the env telemetry module
This commit is contained in:
Ben Meadors 2024-05-14 20:20:43 -05:00 committed by GitHub
commit ef700a5e2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,6 +82,16 @@ message EnvironmentMetrics {
* RCWL9620 Doppler Radar Distance Sensor, used for water level detection. Float value in mm.
*/
float distance = 8;
/*
* VEML7700 high accuracy ambient light(Lux) digital 16-bit resolution sensor.
*/
float lux = 9;
/*
* VEML7700 high accuracy white light(irradiance) not calibrated digital 16-bit resolution sensor.
*/
float white_lux = 10;
}
/*
@ -309,4 +319,8 @@ enum TelemetrySensorType {
* Sensirion High accuracy temperature and humidity
*/
SHT4X = 17;
}
/*
* VEML7700 high accuracy ambient light(Lux) digital 16-bit resolution sensor.
*/
VEML7700 = 18;
}