Update main.py
parent
1efa050369
commit
29b87768b0
2
main.py
2
main.py
|
@ -72,7 +72,7 @@ def led_power_toggle(channel):
|
||||||
led_power = False
|
led_power = False
|
||||||
else:
|
else:
|
||||||
led_power = True
|
led_power = True
|
||||||
print('Led toggled: '+led_power)
|
print('Led toggled: '+str(led_power))
|
||||||
|
|
||||||
def read_idle():
|
def read_idle():
|
||||||
with open('./idle.txt', 'r') as f:
|
with open('./idle.txt', 'r') as f:
|
||||||
|
|
Loading…
Reference in New Issue