by bnl » Mon Jul 27, 2009 11:48 am
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
Serial.setRangLong();
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
file:///home/bnl/programming/legodocs/tutorial/essential/hardware/ir.html
and
file:///home/bnl/programming/legodocs/tutorial/essential/hardware/index.html
is very helpful
correct your paths of course
/Björn