Answer the question
In order to leave comments, you need to log in
How to send data by uart with given structure?
How to send data in Python via uart(serial) like this?
By simply sending a series of bytes:
ON= b"\x55\xAA\x01\x00\x01\x00\x00\x00\x01\x00\x02\x01"
ser.write(ON)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question