From: Phil H. <ph...@ha...> - 2008-12-19 12:18:46
|
Hello, I have managed to send a hello to my hardware and got a response back, which is half the battle with these things. So I am over the moon. The data I contains information I want to read. The packet is broken down into a header, data and then an xor checksum of the header and data. When I do: read_bytes = self.handle.interruptRead(PlugUSBDevice.PLUG_BULK_OUT_EP,sent_bytes); How can I split the read_bytes so that I can read each byte individually? if I print it I just get: (33, 1, 32) (And yes this is my first Python program) Regards Phil Hannent |