lejos.nxt.comm
Class RConsole

java.lang.Object
  extended by 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.


Constructor Summary
RConsole()
           
 
Method Summary
static void close()
           
static boolean isOpen()
           
static void open()
           
static void openBluetooth(int timeout)
           
static OutputStream openOutputStream()
           
static void openUSB(int timeout)
           
static void print(String s)
           
static void println(String s)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Constructor Detail

RConsole

public RConsole()
Method Detail

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()