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

io.silverspoon.bulldog.devices.servo.AdafruitServoDriver 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.io.bus.i2c.I2cBus;
import io.silverspoon.bulldog.core.io.bus.i2c.I2cConnection;
import io.silverspoon.bulldog.devices.pwmdriver.PCA9685;

public class AdafruitServoDriver extends PCA9685 {

   private static final String NAME = "ADAFRUIT 16-CHANNEL 12-BIT PWM/SERVO DRIVER - I2C INTERFACE";

   public AdafruitServoDriver(I2cConnection connection) {
      super(connection);
      setName(NAME);
   }

   public AdafruitServoDriver(I2cBus bus, int address) {
      this(bus.createI2cConnection(address));
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy