Controlling Power Functions from LEGO RCX
Bob Kojima bob@fial.com
01-20-2008

Now you can use your RCX to control LEGO Power Functions.
That's right the RCX can act as a PF remote control but it 
can do something that the PF remote can't do yet.  The RCX
can do PWM with your PF reciever moduals.

You do not need to install BrickOS to get this to work.  The 
executable that you need are included in this packet.

Instructions:

1 Remove previous firmware from RCX 
  - remove the batteries in the RCX then turn on the RCX
  - replace the batteries
    
     
2 Download firmware:
  - use the following command in the DOS command shell
     firmdl3 brickOS.srec
  - if you have a USB tower use this command
     firmdl3 --tty=usb brickOS.srec
  OR you can use BricxCC to download the brickOS.srec firmware
  (I could not get firmdl3 to work so i used BricxCC)
 
     
3 Download the example program
  - use the following command in the DOS command shell
     dll pf.lx
  - if you have a USB tower use this command
     dll -tusb pf.lx
  
     
4 Connect a rotation sensor to sensor port 1 and sensor port 3


5 Press run on the RCX the point at a PF receiver
  - turn rotation sensor 1 to control the red port on the PF
  - turn rotation sensor 3 to control the blue port on the PF
  - press view/prgm buttons to switch PF channels







v1.0.1 01-28-2008
  - Fine tuning of the library
  - Added SingleOutputCST function now the library is complete
  - Changed the sample remote program to start at slow speeds and work
    up to faster speed 

v1.0.0 01-20-2008
  First release


