The Serial class
The basic class for communication between the RCX to the tower or another RCX is josx.rcx.platform.Serial.
As usual with hardware related leJOS classes, Serial is static; hence a typical call would be
There are two methods available to configure the Serial class for the actual needs:
* public static void setRangeLong()
* public static void setRangeShort()
recommended reading is the docs in the install dir.
quoute above is from
is very helpful
correct your paths of course