Wiki / Other software
LegoRcxPy
A Python module that talks to an RCX through a serial infrared tower on a DB9, not USB. It drives a brick from Python, and it doubles as a readable reference for the packet format.
Usage
legorcx.py—RCXclass: motor control (A/B/C, fwd/rev/coast), sensor type/mode setup, read variables/timers/motors/sensors, RCX-to-RCX messages, graceful shutdown.- Needs RCX firmware preloaded (
firm0332.lgo) via NQC · BrickCC. - Implements RCX IR protocol framing over pyserial.