master
ademant 2019-06-27 06:26:00 +02:00
parent c9c670d9c0
commit ea7aae8909
1 changed files with 2 additions and 2 deletions

View File

@ -177,8 +177,8 @@ def main(args):
for n in range(5):
pm_data=sensor_read()
if(pm_data[0]>0):
pm25.append(data[0])
pm10.append(data[1])
pm25.append(pm_data[0])
pm10.append(pm_data[1])
time.sleep(2)
# export_data(round(pm25/pm_count,1),round(pm10/pm_count,1))
# sensor_sleep()