Update main.py
This commit is contained in:
1 parent
a6d4a5ae87
commit
b329d8a3f9
1 file changed
+2
-1
@@ -23,8 +23,9 @@ def bugmotion():
|
|||||||
|
|
||||||
print("\nProgram Running!")
|
print("\nProgram Running!")
|
||||||
for i in range(5):
|
for i in range(5):
|
||||||
|
time.sleep(1)
|
||||||
GPIO.output(27, 1)
|
GPIO.output(27, 1)
|
||||||
time.sleep(0.2)
|
time.sleep(1)
|
||||||
GPIO.output(27, 0)
|
GPIO.output(27, 0)
|
||||||
if i == 5:
|
if i == 5:
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in new issue
Block a user