diff --git a/shields/shield_2.py b/shields/shield_2.py index 8fb74e0..854b162 100644 --- a/shields/shield_2.py +++ b/shields/shield_2.py @@ -157,6 +157,7 @@ def pretty_wake_reason(): print("button was tapped") blink(0x100600) # orange print("put pycoproc to sleep and turn pycom module off for", round(sleep_time_s/60,1), "minutes") + time.sleep(0.1) # give uart some time to finish the print()'s pycoproc.setup_sleep(sleep_time_s) pycoproc.go_to_sleep()