update start light
This commit is contained in:
parent
88843ff4ad
commit
70ba63b7e8
|
@ -28,12 +28,14 @@ from takway.audio_utils import AudioPlayer
|
|||
|
||||
|
||||
def start_status_light(hardware, board):
|
||||
print(f"start status light running.")
|
||||
if board == 'orangepi':
|
||||
for i in range(2):
|
||||
hardware.set_led_on("green")
|
||||
time.sleep(0.5)
|
||||
hardware.set_led_off("green")
|
||||
time.sleep(0.5)
|
||||
print(f"led {i} on")
|
||||
|
||||
|
||||
class WebSocketClinet:
|
||||
|
|
Loading…
Reference in New Issue