Browse Source

Actualizar 'led.py'

master
dllamas 2 years ago
parent
commit
d8d55d89ff
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      led.py

+ 3
- 5
led.py View File

@ -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:


Loading…
Cancel
Save