Class Servo

java.lang.Object
virtualbreadboard.arduino.Servo

public class Servo extends Object
An improved version of this would collect all the time delays and implement them in a single call to drive which processes multiple

NOTES:

  • Version 22/01/2015 ( Created )
Author:
James
  • Constructor Details

    • Servo

      public Servo(int pin)
    • Servo

      public Servo()
  • Method Details

    • attach

      public void attach(int pin)
    • attached

      public boolean attached()
    • attach

      public void attach()
      Attaches it to a thread..
    • detach

      public void detach()
    • writeMicroseconds

      public void writeMicroseconds(int position)
    • write

      public void write(int angle)
    • poll

      public void poll()
    • moveToAngle

      public void moveToAngle(int angle, int durationMs)
    • drive

      public void drive()