Commit fd1660bb authored by Alyx's avatar Alyx
Browse files

Update player_functions.py

parent 12b102d1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -11,6 +11,9 @@ import morbital

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