Jan-17-2022, 02:35 AM
I too am using python 3 with the following, for the test I used a list and filled it with the four byte values you have been transmitting. It works with a RS232 transmission also.
which prints 4094
b=[254,15,0,0] value = int.from_bytes(b, byteorder='little', signed=False) print(value)
which prints 4094