Skip to content

Commit

Permalink
ci: add delay to resolve USB/Wokwi/CircuiPython stdout delay
Browse files Browse the repository at this point in the history
  • Loading branch information
georgik committed Jan 31, 2024
1 parent fccaf03 commit b7a9fb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/python/circuitpython/hello_world/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
import microcontroller
import time

# Boot in Wokwi takes time, because of USB console redirection
# Wait for a little bit, to get the output for the beginning
time.sleep(5)

print("Hello world!")


Expand Down

0 comments on commit b7a9fb2

Please sign in to comment.