Method: Phidgets::DCMotor#setDataInterval

Defined in:
ext/phidgets/phidgets_dc_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.



95
96
97
98
# File 'ext/phidgets/phidgets_dc_motor.c', line 95

VALUE ph_dc_motor_set_data_interval(VALUE self, VALUE interval) {
  ph_raise(PhidgetDCMotor_setDataInterval((PhidgetDCMotorHandle)get_ph_handle(self), NUM2UINT(interval)));
  return Qnil;
}