Method: Phidgets::CurrentInput#getPowerSupply
- Defined in:
- ext/phidgets/phidgets_current_input.c
#getPowerSupply ⇒ Object Also known as: power_supply
Choose the power supply voltage. Set this to the voltage specified in the attached sensor’s data sheet to power it. Set to POWER_SUPPLY_OFF to turn off the supply to save power.
59 60 61 |
# File 'ext/phidgets/phidgets_current_input.c', line 59
VALUE ph_current_input_get_power_supply(VALUE self) {
return ph_get_int(get_ph_handle(self), (phidget_get_int_func)PhidgetCurrentInput_getPowerSupply);
}
|