EEG trigger labels from serial port to BV Recorder only go up to 191, then start again at 128

Hello @jsargent

Sorry. I did not test the command with a variable but with a constant. Try this

win.callOnFlip(serialPort.write, bytes(bytearray([Crap])))

or

win.callOnFlip(serialPort.write, bytearray([Crap]))

Best wishes Jens