ACT Blink off by default, duhdah
This commit is contained in:
parent
35e7513a29
commit
9a46b193b1
2
app.py
2
app.py
|
@ -67,6 +67,8 @@ def getRSSI():
|
||||||
def ledSetup():
|
def ledSetup():
|
||||||
os.system('echo none | sudo tee /sys/class/leds/led0/trigger')
|
os.system('echo none | sudo tee /sys/class/leds/led0/trigger')
|
||||||
os.system('echo none | sudo tee /sys/class/leds/led1/trigger')
|
os.system('echo none | sudo tee /sys/class/leds/led1/trigger')
|
||||||
|
led(0, 0)
|
||||||
|
led(1, 0)
|
||||||
|
|
||||||
def led( led_id, state ):
|
def led( led_id, state ):
|
||||||
# 0 : off, 1: on
|
# 0 : off, 1: on
|
||||||
|
|
Loading…
Reference in New Issue