Skip to content

Commit 8b7f032

Browse files
committed
update simpletest and readme
1 parent baa7e06 commit 8b7f032

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Usage Example
7171
while True:
7272
print("\nTemperature: %0.1f C" % bme680.temperature)
7373
print("Gas: %d ohm" % bme680.gas)
74-
print("Humidity: %0.1f %%" % bme680.humidity)
74+
print("Humidity: %0.1f %%" % bme680.relative_humidity)
7575
print("Pressure: %0.3f hPa" % bme680.pressure)
7676
print("Altitude = %0.2f meters" % bme680.altitude)
7777

examples/bme680_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
while True:
1919
print("\nTemperature: %0.1f C" % (bme680.temperature + temperature_offset))
2020
print("Gas: %d ohm" % bme680.gas)
21-
print("Humidity: %0.1f %%" % bme680.humidity)
21+
print("Humidity: %0.1f %%" % bme680.relative_humidity)
2222
print("Pressure: %0.3f hPa" % bme680.pressure)
2323
print("Altitude = %0.2f meters" % bme680.altitude)
2424

0 commit comments

Comments
 (0)