All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.silverspoon.bulldog.devices.servo.TowerProMicroSG90 Maven / Gradle / Ivy

There is a newer version: 0.3.0
Show newest version
package io.silverspoon.bulldog.devices.servo;

import io.silverspoon.bulldog.core.gpio.Pwm;

public class TowerProMicroSG90 extends Servo {

   private static final double MIN_ANGLE_DEFAULT = 0.0225;
   private static final double MAX_ANGLE_DEFAULT = 0.1150;
   private static final double INITIAL_ANGLE_DEFAULT = 0.0;
   private static final int TIME_PER_DEGREE = (int) (0.1 / 60.0 * 1000);

   public TowerProMicroSG90(Pwm pwm) {
      super(pwm, INITIAL_ANGLE_DEFAULT, MIN_ANGLE_DEFAULT, MAX_ANGLE_DEFAULT, TIME_PER_DEGREE);
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy