Flow: addition of log output, refactoring of GPS coordinates handling, refactoring of datetime management

This commit is contained in:
Romain Bazile 2020-12-02 19:26:27 +01:00
parent 13307476e2
commit a72b819b5a
2 changed files with 722 additions and 804 deletions

File diff suppressed because it is too large Load diff

View file

@ -56,10 +56,6 @@ import planktoscope.light
# Import the planktonscope uuidName module
import planktoscope.uuidName
# Import the planktonscope display module for the OLED screen
import planktoscope.display
# global variable that keeps the wheels spinning
run = True
@ -133,6 +129,9 @@ if __name__ == "__main__":
logger.success("Looks like everything is set up and running, have fun!")
planktoscope.light.ready()
# Import the planktonscope display module for the OLED screen
import planktoscope.display
while run:
# TODO look into ways of restarting the dead threads
logger.trace("Running around in circles while waiting for someone to die!")