|
SunSPOT API V2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IServoController
Controller interface of a Servo controller.
| Method Summary | |
|---|---|
IServo |
bindServo(PinDescriptor pidx)
return the servo accessor object for the indicated pin |
void |
setServoPulseWidth(PinDescriptor pidx,
int usec)
set the pulse width for the servo on the indicated pin |
| Method Detail |
|---|
IServo bindServo(PinDescriptor pidx)
pidx - pin that data wire of servo is attached to
void setServoPulseWidth(PinDescriptor pidx,
int usec)
pidx - pin that data wire of servo is attached tousec - length of desired control pulse in microseconds
|
SunSPOT API V2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||