Method: Phidgets::DCMotor#getFanMode
- Defined in:
- ext/phidgets/phidgets_dc_motor.c
#getFanMode ⇒ 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.
108 109 110 |
# File 'ext/phidgets/phidgets_dc_motor.c', line 108 VALUE ph_dc_motor_get_fan_mode(VALUE self) { return ph_get_int(get_ph_handle(self), (phidget_get_int_func)PhidgetDCMotor_getFanMode); } |