The only difference between the Unix distributions and the
win32 distributions of leJOS is that the latter
ones contain Windows executables. These executables depend on the CygWin B20.1
DLL, which is distributed in the
bin directory, and are meant
to be run from a DOS console. To run leJOS from a CygWin console, you should download
the Unix distribution, or run
To install leJOS:
- Unzip the file you downloaded. A top directory,
lejos, is already provided.
- Set RCXTTY to the IR serial port, e.g.
- Both the JDK's and leJOS'
bindirectories should be in your PATH.
Programproperties of a DOS console shortcut; or set them in C:\AUTOEXEC.BAT.
Testing the ReleaseTo run the
Viewexample, go to the
lejosdirectory and type:
lejosfirmdl cd examples\view set CLASSPATH=. lejosc *.java lejos ViewPress
Runto start the program. This example allows you to test sensors and motors. Press
Viewto select a sensor or motor. Press
Runto activate or passivate a device. Press
Prgmto change sensor mode or motor power. To exit this program, press