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

io.silverspoon.bulldog.devices.motor.UnipolarStepper Maven / Gradle / Ivy

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

import io.silverspoon.bulldog.core.gpio.DigitalOutput;
import io.silverspoon.bulldog.core.io.PinIOGroup;

public class UnipolarStepper extends AbstractStepper {

   private byte[] steps = new byte[] { 0b0101, 0b0110, 0b1010, 0b1001 };
   private double position;

   public UnipolarStepper(DigitalOutput out1, DigitalOutput out2, DigitalOutput out3, DigitalOutput out4) {

   }

   public UnipolarStepper(PinIOGroup group) {

   }

   @Override
   public void moveTo(double position) {
      // TODO Auto-generated method stub

   }

   @Override
   public void setPosition(double position) {
      // TODO Auto-generated method stub

   }

   public void step() {
   }

   @Override
   public double getPosition() {
      // TODO Auto-generated method stub
      return 0;
   }

   @Override
   public int getMillisecondsPerUnit() {
      // TODO Auto-generated method stub
      return 0;
   }

   @Override
   public int getRefreshIntervalMilliseconds() {
      // TODO Auto-generated method stub
      return 0;
   }

   @Override
   public void forward() {
      // TODO Auto-generated method stub

   }

   @Override
   public void backward() {
      // TODO Auto-generated method stub

   }

   @Override
   public void stop() {
      // TODO Auto-generated method stub

   }

   @Override
   public boolean isMoving() {
      // TODO Auto-generated method stub
      return false;
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy