This commit is contained in:
br committed 2023-01-06 19:37:28 +01:00
1 parent eac9d5d376
commit 849e5f8d3e
2 files changed
+5 -3

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
import inc/robot-inc
+3 -3
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2
import RPi.GPIO as GPIO
import time
@@ -17,9 +17,9 @@ myLED=22
GPIO.setup(myLED, GPIO.OUT)
while True:
GPIO.output(myLED,True)
print ('. on . ',myLED)
print '. on . ',myLED
time.sleep(2)
GPIO.output(myLED,False)
print ('**off**',myLED)
print '**off**',myLED
time.sleep(2)