Does the Mindstorms RCX Input Ports have a Pull-Down Resistor?
The RCX input port has a pull-up resistor, not a pull-down (so it reads high: 1024 in raw mode). You can see reverse engineered I/O port electronics here: http://www.brickshelf.com/cgi-bin/gallery.cgi?f=109570