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 make.
To install leJOS:
lejos, is already provided.
set RCXTTY=COM2.
bin directories should be in your PATH.
Program properties
of a DOS console shortcut; or set them in C:\AUTOEXEC.BAT.
View example, go to the
lejos directory and type:
lejosfirmdl cd examples\view set CLASSPATH=. lejosc *.java lejos ViewPress
Run to start the program.
This example allows you to test sensors
and motors. Press View to select a
sensor or motor. Press Run to activate or
passivate a device. Press Prgm to
change sensor mode or motor power. To exit this
program, press On/Off.