Updated directory arch

This commit is contained in:
Pierrick C 2018-08-03 10:59:14 +02:00
parent 4ab331dd30
commit bb88522d51
2 changed files with 6 additions and 3 deletions

View File

@ -36,10 +36,10 @@ print_data = True
backup_data = True
data_to_neopixel = True
gps_enable = True
update_interval = 60 # in seconds
update_interval = const(10) # in seconds
send_json_data = True
datetime_format = "{:04}/{:02}/{:02}_{:02}:{:02}:{:02}"
neopixel_max_value =const(100) #max value instead of brightness to spare some mem
neopixel_max_value =const(70) #max value instead of brightness to spare some mem
#######################
@ -61,7 +61,10 @@ import neopixel
class Data:
"""Class for handling data"""
def __init__(self):
self.data = {}
self.data = {'SYS': {},
'BME280': {},
'GPS': {}
}
def update(self):
"""Read the data from various sensors and update the data dict variable"""