Merge pull request #2 from andrewgleave/master
authorPhilip Howard <wraithofdark@gmail.com>
Mon, 24 Jun 2019 18:13:30 +0000 (19:13 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Jun 2019 18:13:30 +0000 (19:13 +0100)
Fix PM10 label unit

examples/all-in-one.py

index 413b0999be3c6cdc59e70ffdabb3f875972c8c19..8ba76815b25347a48d70f8d3d26dfdcdf90b319e 100755 (executable)
@@ -198,7 +198,7 @@ try:
 
         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)