getAcceleration method

double getAcceleration()

Implementation

double getAcceleration() {
  _ensureOpen();
  final pAccel = calloc<Double>();
  try {
    bindings.checkPhidgetError(
        bindings.stepperGetAcceleration(_handle!, pAccel),
        'Stepper.getAcceleration');
    return pAccel.value;
  } finally {
    calloc.free(pAccel);
  }
}