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
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