RoboJDETM v2.0

com.ridgesoft.robotics
Interface Servo


public interface Servo

Generic interface to a servo.


Method Summary
 void off()
          Turns the servo off.
 void setPosition(int position)
          Sets the servo's position.
 

Method Detail

off

void off()
Turns the servo off.


setPosition

void setPosition(int position)
Sets the servo's position.

Parameters:
position - the position to set
  • range is 0 to 100
  • 50 is the midpoint position

RoboJDETM v2.0

Copyright (c) 2003-2009 RidgeSoft, LLC. All rights reserved.
www.ridgesoft.com