Interface BrickStepper.AllDataListener

  • All Superinterfaces:
    DeviceListener, java.util.EventListener, TinkerforgeListener
    Enclosing class:
    BrickStepper

    public static interface BrickStepper.AllDataListener
    extends DeviceListener
    This listener is triggered periodically with the period that is set by BrickStepper.setAllDataPeriod(long). The parameters are: the current velocity, the current position, the remaining steps, the stack voltage, the external voltage and the current consumption of the stepper motor.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void allData​(int currentVelocity, int currentPosition, int remainingSteps, int stackVoltage, int externalVoltage, int currentConsumption)  
    • Method Detail

      • allData

        void allData​(int currentVelocity,
                     int currentPosition,
                     int remainingSteps,
                     int stackVoltage,
                     int externalVoltage,
                     int currentConsumption)