Method: Phidgets::PowerGuard#getFanMode

Defined in:
ext/phidgets/phidgets_power_guard.c

#getFanModeObject 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 device will still turn on the fan if the temperature reaches 85°C and it will remain on until it falls below 70°C.



12
13
14
# File 'ext/phidgets/phidgets_power_guard.c', line 12

VALUE ph_power_guard_get_fan_mode(VALUE self) {
  return ph_get_int(get_ph_handle(self), (phidget_get_int_func)PhidgetPowerGuard_getFanMode);
}