Skip to content

Commit

Permalink
Update __main__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xzf89718 authored Nov 15, 2022
1 parent 134b1a6 commit c531532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AHT20_sensor_control/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
CRC8_check = AHT20Status.AHT20_CRCNOTOK
while (CRC8_check == AHT20Status.AHT20_CRCNOTOK):
temerature, humidity, CRC8_check = triggerAndMeasureAndCRCcheck(my_wrapper)
mylogger.info("{0:.2f} C\t{1:.2f} %RH\t{2}".format(temperature, humidity * 100, str(CRC8_check)))
mylogger.info("{0:.2f} C\t{1:.2f} %RH".format(temperature, humidity * 100))
time.sleep(MEASURE_INTERVAL)
except KeyboardInterrupt:
mylogger.warning("Stop by keyboard.")
Expand Down

0 comments on commit c531532

Please sign in to comment.