diff --git a/preload/apps/bme680_sensor_demo/__init__.py b/preload/apps/bme680_sensor_demo/__init__.py index 74ae70907328773231eec8c02d568d3eab6d4fd4..0988063df5d0e9060475911a751317b6ba97d450 100644 --- a/preload/apps/bme680_sensor_demo/__init__.py +++ b/preload/apps/bme680_sensor_demo/__init__.py @@ -26,32 +26,32 @@ def rate_iaq(iaq): # "Headaches, additional neurotoxic effects possible" # "Contamination needs to be identified; avoid presence in room and maximize ventilation" # return (color.from_hex(0x663300), "Extrem. p.") - return (color.from_hex(0x663300), "Extremly p") + return (color.from_hex(0x663300), "Extremly polluted") if iaq > 250: # "Severely polluted" # "More severe health issue possible if harmful VOC present" # "Contamination should be identified if level is reached even # w/o presence of people; maximize ventilation & reduce attendance" # return (color.from_hex(0x99004c), "Severly p.") - return (color.from_hex(0x99004C), " Severly p") + return (color.from_hex(0x99004C), " Severly polluted") if iaq > 200: # "Heavily polluted" # "Exposition might lead to effects like headache depending on type of VOCs" # "Optimize ventilation" # return (color.from_hex(0xff0000), "Heavily p.") - return (color.from_hex(0xFF0000), " Heavily p") + return (color.from_hex(0xFF0000), " Heavily polluted") if iaq > 150: # "Moderately polluted" # "More significant irritation possible" # "Increase ventilation with clean air" # return (color.from_hex(0xff7e00), "Modera. p.") - return (color.from_hex(0xFF7E00), "Moderate p") + return (color.from_hex(0xFF7E00), "Moderate polluted") if iaq > 100: # "Lightly polluted" # "Reduction of well-being possible" # "Ventilation suggested" # return (color.from_hex(0xffff00), "Lightly p.") - return (color.from_hex(0xFFFF00), "Lightly p") + return (color.from_hex(0xFFFF00), "Lightly polluted") if iaq > 50: # "Good" # "No irritation or impact on well-being" @@ -130,7 +130,7 @@ def main(): elif data.iaq_accuracy == 1: disp.print("IAQ: ", posy=64, font=2) disp.print( - "Calibratin", posy=64, posx=45 + 5, font=2, fg=color.YELLOW + "Calibrating", posy=64, posx=45 + 5, font=2, fg=color.YELLOW ) else: if data.iaq_accuracy == 2: