ACT Blink off by default, duhdah

This commit is contained in:
ABelliqueux 2022-10-24 20:04:18 +02:00
parent 35e7513a29
commit 9a46b193b1
1 changed files with 2 additions and 0 deletions

2
app.py
View File

@ -67,6 +67,8 @@ def getRSSI():
def ledSetup():
os.system('echo none | sudo tee /sys/class/leds/led0/trigger')
os.system('echo none | sudo tee /sys/class/leds/led1/trigger')
led(0, 0)
led(1, 0)
def led( led_id, state ):
# 0 : off, 1: on