We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe52c7d commit 8e17a2bCopy full SHA for 8e17a2b
src/main.cpp
@@ -138,8 +138,9 @@ void loop() {
138
float heatIndex = temperatureSensor.computeHeatIndex(temperature, humidity, false);
139
float uvIndex = analogRead(uvAnalogIn);
140
141
- // integer index, divide by 100!
142
- uvIndex /= 100.0;
+ // divide by 10: This value will depend on the
+ // sensor and the library used, if any
143
+ uvIndex /= 10.0;
144
145
// check whether reading was successful or not
146
if (temperature == NAN || humidity == NAN) { // NAN means no available data
0 commit comments