mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 19:20:41 +00:00
Fix VEML7700Sensor readings and update protobuf and MQTT JSON
This commit is contained in:
@@ -5,7 +5,12 @@
|
||||
class VEML7700Sensor : public TelemetrySensor
|
||||
{
|
||||
private:
|
||||
const float MAX_RES = 0.0036;
|
||||
const float GAIN_MAX = 2;
|
||||
const float IT_MAX = 800;
|
||||
Adafruit_VEML7700 veml7700;
|
||||
float computeLux(uint16_t rawALS, bool corrected);
|
||||
float getResolution(void);
|
||||
|
||||
protected:
|
||||
virtual void setup() override;
|
||||
|
||||
Reference in New Issue
Block a user