Method: Phidgets::DCMotor#getBackEMFSensingState

Defined in:
ext/phidgets/phidgets_dc_motor.c

#getBackEMFSensingStateObject Also known as: back_emf_sensing_state

When BackEMFSensingState is enabled, the controller will measure and report the BackEMF. The motor will coast (freewheel) 5% of the time while the back EMF is being measured (800μs every 16ms). Therefore, at a DutyCycle of 100%, the motor will only be driven for 95% of the time.



36
37
38
# File 'ext/phidgets/phidgets_dc_motor.c', line 36

VALUE ph_dc_motor_get_back_emf_sensing_state(VALUE self) {
  return ph_get_bool(get_ph_handle(self), (phidget_get_bool_func)PhidgetDCMotor_getBackEMFSensingState);
}