Commit f5a299cc authored by Alyx's avatar Alyx
Browse files

Update file player_functions.py

parent f746aa88
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -9,6 +9,8 @@ from pathlib import Path
import serial
import morbital

display = serial.Serial("/dev/ttyUSB0", 19200, serial.EIGHTBITS, serial.PARITY_NONE, serial.STOPBITS_ONE, timeout=5,
                        rtscts=False)
# 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