Using the USB port to program Lego


  Back to main page. Back to legos page.

Introduction

I just bought the new Lego Mindstorms that comes with the RCX2.0. In this version of the device, the computer connects to the USB port. It also comes with the Lego Mindstorms software to program the device.
The problem here is that the Lego software isnt that great... so programmers on the net have developed their own ways to control the Lego firmware. This includes NQC (not Quite C) and Java. However, their software is mostly designed to control the MindStorms through the serial port, which is the way that the device was designed in previous versions.

Useful Solution


Tamotsu Kamigaki wrote a version of NQC that will work with the USB port. You can download it from his website here.
He compresses his files in a format called LZA. You will need to install this LZA decompression into your WinZip program. Get the LHA.exe program here.
Tamotsu provides you with the Windows wrapper as well as the version of NQC that will work with the USB. So now you are ready to go!