Note: for this sample you will need a RCX (1.0 or above) with firmware, 2 motors (connected to ports A and C), and a touch sensor (connected to port 1)

Step 0: Download and unzip RCX.NET to a folder in your disk

Step 1: Launch Visual Studio .NET and create a New Windows Application Project (File...New...Project)

Step 2: Go to Project References (Project...Add Reference...)

Step 3: Add a reference to the RCX.NET library (browse for the location where you unzipped the library)

Step 4: Add Buttons to the default form as shown

Step 5: Add command handlers to each event or download the complete code here.

Download the complete VS.NET 2003 solution here

José David Parra e-mail : jparra@geeksco.com