Method: Phidgets::DCMotor#setFanMode
- Defined in:
- ext/phidgets/phidgets_dc_motor.c
#setFanMode(fan_mode) ⇒ Object Also known as: fan_mode=
The FanMode dictates the operating condition of the fan. Choose between on, off, or automatic (based on temperature). If the FanMode is set to automatic, the fan will turn on when the temperature reaches 70°C and it will remain on until the temperature falls below 55°C. If the FanMode is off, the controller will still turn on the fan if the temperature reaches 85°C and it will remain on until it falls below 70°C.
112 113 114 115 |
# File 'ext/phidgets/phidgets_dc_motor.c', line 112 VALUE ph_dc_motor_set_fan_mode(VALUE self, VALUE fan_mode) { ph_raise(PhidgetDCMotor_setFanMode((PhidgetDCMotorHandle)get_ph_handle(self), NUM2INT(fan_mode))); return Qnil; } |