Skip to content

Instantly share code, notes, and snippets.

@lesp
Created April 28, 2016 12:23
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 lesp/ea004833e27f6249b5eaba2b6b02cfc0 to your computer and use it in GitHub Desktop.
Save lesp/ea004833e27f6249b5eaba2b6b02cfc0 to your computer and use it in GitHub Desktop.
Correct function
def correct(n):
for i in range(9):
sleep(n)
for i in range(150):
strip.setPixelColor(i,Color(255,0,0))
strip.show()
sleep(n)
for i in range(150):
strip.setPixelColor(i,Color(0,0,0))
strip.show()
sleep(n)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment