|
|
@ -39,11 +39,9 @@ elif sys.argv[1] == "off": |
|
|
|
elif sys.argv[1]=="b": |
|
|
|
print("blinking") |
|
|
|
removeTrigger() |
|
|
|
while True: |
|
|
|
writeLED("/brightness", "1") |
|
|
|
time.sleep(0.5) |
|
|
|
writeLED("/brightness","0") |
|
|
|
time.sleep(0.5) |
|
|
|
writeLED("/trigger", "timer") |
|
|
|
writeLED("/delay_on","500") |
|
|
|
writeLED("/delay_off","500") |
|
|
|
|
|
|
|
|
|
|
|
else: |
|
|
|