lejos.nxt.comm
Class RConsole
java.lang.Object
lejos.nxt.comm.RConsole
public class RConsole
- extends Object
This class provides a simple way of sending output for viewing on a
PC. The output is transmitted via the nxt USB connection or via Bluetooth.
If open is not called or if the connection to the PC is timed out, then
the output is dicarded.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RConsole
public RConsole()
openUSB
public static void openUSB(int timeout)
open
public static void open()
openBluetooth
public static void openBluetooth(int timeout)
print
public static void print(String s)
println
public static void println(String s)
close
public static void close()
isOpen
public static boolean isOpen()
openOutputStream
public static OutputStream openOutputStream()