def voltage=(new_voltage)
      ptr = ::FFI::MemoryPointer.new(:int)
      Klass.setVoltage(@handle, Phidgets::FFI::LEDVoltage[new_voltage])
      new_voltage
    end
def voltage=(new_voltage)
      ptr = ::FFI::MemoryPointer.new(:int)
      Klass.setVoltage(@handle, Phidgets::FFI::LEDVoltage[new_voltage])
      new_voltage
    end
Sets the voltage level for all LEDs, or raises an error. Not supported on all PhidgetLEDs.
 @param [Phidgets::FFI::LEDVoltage] new_voltage new voltage
 @return [Phidgets::FFI::LEDVoltage] returns the voltage level, or raises an error.