Christmas tree light sequencer
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- from time import sleep
- import pifacedigitalio as p
-
- p.init()
-
- while(True):
- p.digital_write(0,1) #turn on
- sleep(3)
- p.digital_write(0,0) #turn off
- sleep(5)
|