Method: Phidgets::BLDCMotor#setDataInterval
- Defined in:
- ext/phidgets/phidgets_bldc_motor.c
#setDataInterval(interval) ⇒ Object Also known as: data_interval=
The DataInterval is the time that must elapse before the controller will fire another update event. The data interval is bounded by MinDataInterval and MaxDataInterval.
48 49 50 51 |
# File 'ext/phidgets/phidgets_bldc_motor.c', line 48
VALUE ph_bldc_motor_set_data_interval(VALUE self, VALUE interval) {
ph_raise(PhidgetBLDCMotor_setDataInterval((PhidgetBLDCMotorHandle)get_ph_handle(self), NUM2UINT(interval)));
return Qnil;
}
|