Flow: addition of log output, refactoring of GPS coordinates handling, refactoring of datetime management
This commit is contained in:
parent
13307476e2
commit
a72b819b5a
1519
flows/main.json
1519
flows/main.json
File diff suppressed because it is too large
Load diff
|
@ -56,10 +56,6 @@ import planktoscope.light
|
||||||
# Import the planktonscope uuidName module
|
# Import the planktonscope uuidName module
|
||||||
import planktoscope.uuidName
|
import planktoscope.uuidName
|
||||||
|
|
||||||
# Import the planktonscope display module for the OLED screen
|
|
||||||
import planktoscope.display
|
|
||||||
|
|
||||||
|
|
||||||
# global variable that keeps the wheels spinning
|
# global variable that keeps the wheels spinning
|
||||||
run = True
|
run = True
|
||||||
|
|
||||||
|
@ -133,6 +129,9 @@ if __name__ == "__main__":
|
||||||
logger.success("Looks like everything is set up and running, have fun!")
|
logger.success("Looks like everything is set up and running, have fun!")
|
||||||
planktoscope.light.ready()
|
planktoscope.light.ready()
|
||||||
|
|
||||||
|
# Import the planktonscope display module for the OLED screen
|
||||||
|
import planktoscope.display
|
||||||
|
|
||||||
while run:
|
while run:
|
||||||
# TODO look into ways of restarting the dead threads
|
# TODO look into ways of restarting the dead threads
|
||||||
logger.trace("Running around in circles while waiting for someone to die!")
|
logger.trace("Running around in circles while waiting for someone to die!")
|
||||||
|
|
Loading…
Reference in a new issue