status_logger.warning("User button enabled")
# TODO: provision if key on sd card
# set connect to false in config file?
# ==========================
try:
# Read configuration file to get preferences
# config = Configuration.Configuration(status_logger)
# config.read_configuration() #Now removed from init
"""SET CODE VERSION NUMBER - if new tag is added on git, update code version number accordingly"""
# ToDo: Update OTA.py so if version is 0.0.0, it backs up all existing files, and adds all files as new.
provision if key on sd card
set connect to false in config file?
config = Configuration.Configuration(status_logger)
config.read_configuration() #Now removed from init
config = Configuration.Configuration(status_logger)
config.read_configuration() #Now removed from init
https://github.com/pyonair/PyonAir-pycom/blob/9b8cd7f8cb06d958981c1841ca740c9ae1cf723d/code/main.py#L155
48ebb6db0661ba10c536edd53b82e7e6ee370b18