ch.aplu.nxt
Class SensorPort

java.lang.Object
  extended by ch.aplu.nxt.SensorPort

public class SensorPort
extends java.lang.Object

Useful declarations for port connections.


Field Summary
static SensorPort S1
          Declaration used by a motor connected to port S1.
static SensorPort S2
          Declaration used by a motor connected to port S2.
static SensorPort S3
          Declaration used by a motor connected to port S3.
static SensorPort S4
          Declaration used by a motor connected to port S4.
 
Method Summary
protected  int getId()
           
protected  java.lang.String getLabel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

S1

public static final SensorPort S1
Declaration used by a motor connected to port S1.


S2

public static final SensorPort S2
Declaration used by a motor connected to port S2.


S3

public static final SensorPort S3
Declaration used by a motor connected to port S3.


S4

public static final SensorPort S4
Declaration used by a motor connected to port S4.

Method Detail

getId

protected int getId()

getLabel

protected java.lang.String getLabel()