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 e6b3769 commit 38001d4Copy full SHA for 38001d4
src/main.cpp
@@ -148,16 +148,15 @@ void loop() {
148
// display Humidity on the LCD screen
149
lcd.setCursor(0, 0);
150
lcd.print("Humidity:");
151
- lcd.print(String(humidity) + "%");
+ lcd.print(String(int(humidity)) + "% ");
152
153
// display Temperature on the LCD screen
154
lcd.setCursor(0, 1);
155
lcd.print("Temp:");
156
- lcd.print(String(temperature) + "C");
+ lcd.print(String(int(temperature)) + "C");
157
158
// display UVIndex on the LCD screen
159
- // lcd.setCursor(0, 2);
160
- lcd.print(" - UV:");
+ lcd.print(" UV:");
161
lcd.print(String(uvIndex));
162
163
String preparedData = prepareDataForWiFi(humidity, temperature, heatIndex, uvIndex);
0 commit comments