Hello @jsargent
So you tried?
win.callOnFlip(serialPort.write(bytes(bytearray([Crap]))))
Although your code looks a little different than I expected
Compare your code
win.callOnFlip(**serialPort.write,** bytes(chr(Crap), 'utf8'))
with my example from above
win.callOnFlip(**serialPort.write(**bytes('128','utf8')))
Copy & paste error on my side?
See here for an explanation of the behavior of the serial port triggers Strange trigger values with MMBT-S interface - #4 by jon
I have no idea why you can send trigger values up to 192?
Best wishes Jens