|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlejos.nxt.addon.PFMotorPort
public class PFMotorPort
MotorPort for PF Motors using HiTechnic IRLink
Field Summary |
---|
Fields inherited from interface lejos.nxt.BasicMotorPort |
---|
PWM_BRAKE, PWM_FLOAT |
Constructor Summary | |
---|---|
PFMotorPort(IRLink link,
int channel,
int slot)
|
Method Summary | |
---|---|
void |
controlMotor(int power,
int mode)
|
void |
setPWMMode(int mode)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PFMotorPort(IRLink link, int channel, int slot)
Method Detail |
---|
public void controlMotor(int power, int mode)
controlMotor
in interface BasicMotorPort
public void setPWMMode(int mode)
setPWMMode
in interface BasicMotorPort
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |