Fix PM10 label unit
authorAndrew Gleave <andrew@redrobotstudios.com>
Mon, 24 Jun 2019 15:08:26 +0000 (16:08 +0100)
committerAndrew Gleave <andrew@redrobotstudios.com>
Mon, 24 Jun 2019 15:08:26 +0000 (16:08 +0100)
examples/all-in-one.py

index 413b0999be3c6cdc59e70ffdabb3f875972c8c19..8ba76815b25347a48d70f8d3d26dfdcdf90b319e 100755 (executable)
@@ -198,7 +198,7 @@ try:
 
         if mode == 9:
             variable = "pm10"
 
         if mode == 9:
             variable = "pm10"
-            unit = "g/m3"
+            unit = "ug/m3"
             data = pms5003.read()
             data = data.pm_ug_per_m3(10)
             display_text(variable, data, unit)
             data = pms5003.read()
             data = data.pm_ug_per_m3(10)
             display_text(variable, data, unit)