Re: RCX using python serial help

2010-12-08 Thread Astan Chee
Thanks for that help. I really appriciate it. My next question is how do I code or what is the checksum? The sum of opcode and arguments in hex and then mod 256? Does it include the compliment opcode and arguments as well? Is the checksum compliment equal to the sum of the opcode (and arguments) co

Re: RCX using python serial help

2010-12-07 Thread MRAB
On 06/12/2010 15:37, Astan Chee wrote: Hi, I've got a lego mindstorm RCX 1.0 (but firmware is 2.0) that uses one of those old serial IR towers to control the microcontroller. I've had a look around at python's serial documentation as well as the RCX's documentation and I'm trying to write somethi

Re: RCX using python serial help

2010-12-07 Thread MRAB
On 06/12/2010 15:37, Astan Chee wrote: Hi, I've got a lego mindstorm RCX 1.0 (but firmware is 2.0) that uses one of those old serial IR towers to control the microcontroller. I've had a look around at python's serial documentation as well as the RCX's documentation and I'm trying to write somethi

RCX using python serial help

2010-12-06 Thread Astan Chee
Hi, I've got a lego mindstorm RCX 1.0 (but firmware is 2.0) that uses one of those old serial IR towers to control the microcontroller. I've had a look around at python's serial documentation as well as the RCX's documentation and I'm trying to write something to control the RCX directly using pyth