We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e30c1d6 commit 0faf35eCopy full SHA for 0faf35e
1 file changed
Java/SHT31.java
@@ -35,8 +35,8 @@ public static void main(String args[]) throws Exception
35
double humidity = (((data[3] & 0xFF) * 256) + (data[4] & 0xFF)) * 100.0) / 65535.0;
36
37
//Output data to screen
38
- System.out.printf("Temprature in Celsius : %.2f C %n", cTemp);
39
- System.out.printf("Temprature in Fahrenheit : %.2f F %n", fTemp);
40
- System.out.printf("Relative humidity is : %.2f %%RH %n", humidity);
+ System.out.printf("Temperature in Celsius : %.2f C %n", cTemp);
+ System.out.printf("Temperature in Fahrenheit : %.2f F %n", fTemp);
+ System.out.printf("Relative Humidity is : %.2f %%RH %n", humidity);
41
}
42
0 commit comments