it is returning data such as 0x04. I am new to python so this is a pain for me, learning to do this in a language whose llibrary is somewhat limited. But instead I receieve .... So I wnat to convert to the original data. Also can you define a constant in Python such as #define value 0x04 Thank-you for your help