Loading player_functions.py +2 −2 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ import threading display = serial.Serial("/dev/ttyUSB0", 19200, serial.EIGHTBITS, serial.PARITY_NONE, serial.STOPBITS_ONE, timeout=5, rtscts=False) status="alive" def stoplisten(): while True: Loading @@ -29,9 +28,10 @@ def stoplisten(): print("failing decode quietly") # Check if the received character is 'E' if received_char == 'E': print("KILL") global status status="kill" # Find the ID of the first MIDI device since I only have one def findAMIDIDevice(): # get the output of amidi -l which lists onboard midi devices Loading Loading
player_functions.py +2 −2 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ import threading display = serial.Serial("/dev/ttyUSB0", 19200, serial.EIGHTBITS, serial.PARITY_NONE, serial.STOPBITS_ONE, timeout=5, rtscts=False) status="alive" def stoplisten(): while True: Loading @@ -29,9 +28,10 @@ def stoplisten(): print("failing decode quietly") # Check if the received character is 'E' if received_char == 'E': print("KILL") global status status="kill" # Find the ID of the first MIDI device since I only have one def findAMIDIDevice(): # get the output of amidi -l which lists onboard midi devices Loading