The "GP40RCXSoftware" folder and sub folders contain some information and the RobotC source code on my train automation project using the programmable LEGO RCX PBrick. There is a video on YouTube available that shows the trains in some action: http://www.youtube.com/watch?v=wTP6WtcnQbg Building instructions for the GP40_RCX train can be found on the RailBricks website: http://www.railbricks.com The link below may get you directly to the instructions (as of Aug 2010): http://www.railbricks.com/build-instructions/doc_details/65-gp40-rcx Required software to run the train: RobotC 2.02 - see RobotC website: http://www.robotc.net. A trial version can be downloaded here (as of Aug. 2010): (this gives you also access to the required new RCX firmware FAST797.lgo) http://www.robotc.net/download/nxt/ See source code files for further instructions. Some illustrations on how the program(s) work are shown in the graphics files. They are located in the SourceCode folder. BrickLink might not like the ".h" and ".c" file extensions, so this folder may stay "not yet public" for ever. Here are the direct (deep) links: RobotC program Code: http://www.brickshelf.com/gallery/ThorstenB/9VTrain/GP40-RCX/GP40RCXSoftware/SourceCode/traincontrolv1-4-04-06-10.c Include files: http://www.brickshelf.com/gallery/ThorstenB/9VTrain/GP40-RCX/GP40RCXSoftware/SourceCode/trainlcderrordefs.h http://www.brickshelf.com/gallery/ThorstenB/9VTrain/GP40-RCX/GP40RCXSoftware/SourceCode/trainmacrodefs.h http://www.brickshelf.com/gallery/ThorstenB/9VTrain/GP40-RCX/GP40RCXSoftware/SourceCode/trainmessagedefs.h The include files (TrainMacroDefs.h, TrainMessageDefs.h, TrainLCDErrorDefs.h) should go into the subdirectory "include" located in the directory from where you are running the TrainControl code. Train description include file (optional): http://www.brickshelf.com/gallery/ThorstenB/9VTrain/GP40-RCX/GP40RCXSoftware/SourceCode/gp40_rcx.h The train defintion files (example here is GP40_RCX.h) should go into the subdirectory "TrainConfigurationFiles" located in the directory from where you are running the TrainControl code. Then you need to write some code in your preferred programming language to generate the two byte message sequences (in the original LEGO mindstorms format) to be sent via the LEGO IR tower to the RCX controlling the train. I use stone age VB6 on an XP machine along with the USB LEGO tower, but this is entirely your choice ... Have fun! Thorsten