lejos.nxt.addon
Class DSwitch
java.lang.Object
lejos.nxt.BasicMotor
lejos.nxt.NXTMotor
lejos.nxt.addon.DSwitch
- All Implemented Interfaces:
- BaseMotor, DCMotor, Encoder, EncoderMotor
public class DSwitch
- extends NXTMotor
This class manage the device dSwitch which
is a controller designed to be used with Lego NXT Mindstorms hardware and software
- Author:
- Juan Antonio Brenha Moral
Method Summary |
void |
turnOff()
This method turn off the device connected with DSwitch |
void |
turnOn()
This method turn on the device connected with DSwitch |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DSwitch
public DSwitch(TachoMotorPort port)
turnOn
public void turnOn()
- This method turn on the device connected with DSwitch
turnOff
public void turnOff()
- This method turn off the device connected with DSwitch