I've looked around the internet a good bit, and can't seem to figure out the right way to send a Hex message to another devices over UART. The code below is where I'm at, with no success. Any suggestions?
Code: Select all
uart = UART(3, 19200) message = b'\xaa\x00\x01\xBE\x00\x01\x00\x01\xC1' uart.write(message)