lejos.nxt.addon
Class PFMotorPort
java.lang.Object
lejos.nxt.addon.PFMotorPort
- All Implemented Interfaces:
- BasicMotorPort
public class PFMotorPort
- extends Object
- implements BasicMotorPort
MotorPort for PF Motors using HiTechnic IRLink
- Author:
- Lawrie Griffiths
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PFMotorPort
public PFMotorPort(IRLink link,
int channel,
int slot)
controlMotor
public void controlMotor(int power,
int mode)
- Specified by:
controlMotor
in interface BasicMotorPort
setPWMMode
public void setPWMMode(int mode)
- Specified by:
setPWMMode
in interface BasicMotorPort