Updated directory arch
This commit is contained in:
parent
4ab331dd30
commit
bb88522d51
@ -36,10 +36,10 @@ print_data = True
|
|||||||
backup_data = True
|
backup_data = True
|
||||||
data_to_neopixel = True
|
data_to_neopixel = True
|
||||||
gps_enable = True
|
gps_enable = True
|
||||||
update_interval = 60 # in seconds
|
update_interval = const(10) # in seconds
|
||||||
send_json_data = True
|
send_json_data = True
|
||||||
datetime_format = "{:04}/{:02}/{:02}_{:02}:{:02}:{:02}"
|
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 Data:
|
||||||
"""Class for handling data"""
|
"""Class for handling data"""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.data = {}
|
self.data = {'SYS': {},
|
||||||
|
'BME280': {},
|
||||||
|
'GPS': {}
|
||||||
|
}
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
"""Read the data from various sensors and update the data dict variable"""
|
"""Read the data from various sensors and update the data dict variable"""
|
Loading…
Reference in New Issue
Block a user