SunSPOT API V3.0


com.sun.spot.sensorboard.capabilities
Interface IServoController

All Known Implementing Classes:
EDemoController

public interface IServoController

Controller interface of a Servo controller.

Author:
arshan

Method Summary
 void setServoPulseWidth(PinDescriptor pidx, int usec)
          set the pulse width for the servo on the indicated pin
 

Method Detail

setServoPulseWidth

void setServoPulseWidth(PinDescriptor pidx,
                        int usec)
set the pulse width for the servo on the indicated pin

Parameters:
pidx - pin that data wire of servo is attached to
usec - length of desired control pulse in microseconds

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.