def current_limit=(new_current_limit)
      ptr = ::FFI::MemoryPointer.new(:int)
      Klass.setCurrentLimit(@handle, Phidgets::FFI::LEDCurrentLimit[new_current_limit])
      new_current_limit
    end
def current_limit=(new_current_limit)
      ptr = ::FFI::MemoryPointer.new(:int)
      Klass.setCurrentLimit(@handle, Phidgets::FFI::LEDCurrentLimit[new_current_limit])
      new_current_limit
    end
Sets the board current limit for all LEDs, or raises an error. Not supported on all PhidgetLEDs.
 @param [Phidgets::FFI::LEDCurrentLimit] new_current_limit new current limit
 @return [Phidgets::FFI::LEDCurrentLimit] returns the board current limit, or raises an error.