Update main.py
This commit is contained in:
1 parent
b329d8a3f9
commit
a2152a6cf0
1 file changed
+2
-2
@@ -22,12 +22,12 @@ def bugmotion():
|
|||||||
GPIO.output(22, 0) #Sets light off
|
GPIO.output(22, 0) #Sets light off
|
||||||
|
|
||||||
print("\nProgram Running!")
|
print("\nProgram Running!")
|
||||||
for i in range(5):
|
for i in range(3):
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
GPIO.output(27, 1)
|
GPIO.output(27, 1)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
GPIO.output(27, 0)
|
GPIO.output(27, 0)
|
||||||
if i == 5:
|
if i == 3:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user