This website works better with JavaScript.
Home
Explore
Help
Sign In
pete
/
xmas
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
First commit
master
Pete Shadbolt
6 years ago
commit
f583c9d161
1 changed files
with
10 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+10
-0
xmas.py
+ 10
- 0
xmas.py
View File
@@ -0,0 +1,10 @@
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)
Write
Preview
Loading…
Cancel
Save