Skip to content

Instantly share code, notes, and snippets.

@ugeugeHigh
Created February 13, 2022 03:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ugeugeHigh/3d6e966a4adb5a465afadee478fa8a88 to your computer and use it in GitHub Desktop.
Save ugeugeHigh/3d6e966a4adb5a465afadee478fa8a88 to your computer and use it in GitHub Desktop.
import segment
import time
j = 0
while True:
print(j)
segment.C(j)
time.sleep(1)
segment.Coff()
time.sleep(1)
j += 1
if j > 9:
j = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment