Skip to content

Commit 3fee945

Browse files
Fix for scope error
1 parent 786bc3c commit 3fee945

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

examples/luftdaten.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050

5151
# Read values from BME280 and PMS5003 and return as dict
5252
def read_values():
53+
global pms5003
5354
values = {}
5455
cpu_temp = get_cpu_temperature()
5556
raw_temp = bme280.get_temperature()

0 commit comments

Comments
 (0)