Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 987e4ee831
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (33 sloc) 0.761 kB
##################################################
## Switch each colour on in sequence on and off ##
## ##
## Example by Jason - @Boeeerb ##
##################################################
from piglow import PiGlow
from time import sleep
piglow = PiGlow()
while True:
piglow.white(10)
sleep(0.1)
piglow.blue(10)
sleep(0.1)
piglow.green(10)
sleep(0.1)
piglow.yellow(10)
sleep(0.1)
piglow.orange(10)
sleep(0.1)
piglow.red(10)
sleep(0.1)
piglow.red(0)
sleep(0.1)
piglow.orange(0)
sleep(0.1)
piglow.yellow(0)
sleep(0.1)
piglow.green(0)
sleep(0.1)
piglow.blue(0)
sleep(0.1)
piglow.white(0)
sleep(0.1)
Jump to Line
Something went wrong with that request. Please try again.