Method: Phidgets::DCMotor#setCurrentLimit
- Defined in:
- ext/phidgets/phidgets_dc_motor.c
#setCurrentLimit(current_limit) ⇒ Object Also known as: current_limit=
The controller will limit the current through the motor to the CurrentLimit value.
61 62 63 64 |
# File 'ext/phidgets/phidgets_dc_motor.c', line 61 VALUE ph_dc_motor_set_current_limit(VALUE self, VALUE current_limit) { ph_raise(PhidgetDCMotor_setCurrentLimit((PhidgetDCMotorHandle)get_ph_handle(self), NUM2DBL(current_limit))); return Qnil; } |