Commit d1885073 authored by Alyx's avatar Alyx
Browse files

synth

parent d271f7ed
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -13,7 +13,8 @@ import threading
display = serial.Serial("/dev/ttyUSB0", 19200, serial.EIGHTBITS, serial.PARITY_NONE, serial.STOPBITS_ONE, timeout=5,
                        rtscts=False)


global status
status="alive"
def stoplisten():
    while True:
        received_char = ""
@@ -77,6 +78,7 @@ def resetDevice(device_id, mode='GS'):

# The main player function
def playTrack(track_path, port):
    global status
    status="alive"
    fn_prefix = "player_functions.py/playTrack"
    track_path = str(track_path).rstrip()