Feb-13-2019, 04:25 PM
Thanks for the reply.
Manually sending
works fine.
But I need this stored in a variable.
I don't understand how to read this string from a text file and pass it on like above ?
Manually sending
CW = b'\xEA\x10\xC6\x26\x4B\x37\xE4\x87\xC3\x2E\xB2\xB6\x9F\x07\x3D\x2D\xC6\x30' ser.write(CW)
works fine.
But I need this stored in a variable.
I don't understand how to read this string from a text file and pass it on like above ?