# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.

from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
    def swig_import_helper():
        import importlib
        pkg = __name__.rpartition('.')[0]
        mname = '.'.join((pkg, '_pyupm_bh1749')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_pyupm_bh1749')
    _pyupm_bh1749 = swig_import_helper()
    del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_pyupm_bh1749', [dirname(__file__)])
        except ImportError:
            import _pyupm_bh1749
            return _pyupm_bh1749
        try:
            _mod = imp.load_module('_pyupm_bh1749', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod
    _pyupm_bh1749 = swig_import_helper()
    del swig_import_helper
else:
    import _pyupm_bh1749
del _swig_python_version_info

try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
    if (name == "thisown"):
        return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if (not static):
        if _newclass:
            object.__setattr__(self, name, value)
        else:
            self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)


def _swig_setattr(self, class_type, name, value):
    return _swig_setattr_nondynamic(self, class_type, name, value, 0)


def _swig_getattr(self, class_type, name):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))


def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

try:
    _object = object
    _newclass = 1
except __builtin__.Exception:
    class _object:
        pass
    _newclass = 0


def getVersion():
    return _pyupm_bh1749.getVersion()
getVersion = _pyupm_bh1749.getVersion
class SwigPyIterator(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _pyupm_bh1749.delete_SwigPyIterator
    __del__ = lambda self: None

    def value(self):
        return _pyupm_bh1749.SwigPyIterator_value(self)

    def incr(self, n=1):
        return _pyupm_bh1749.SwigPyIterator_incr(self, n)

    def decr(self, n=1):
        return _pyupm_bh1749.SwigPyIterator_decr(self, n)

    def distance(self, x):
        return _pyupm_bh1749.SwigPyIterator_distance(self, x)

    def equal(self, x):
        return _pyupm_bh1749.SwigPyIterator_equal(self, x)

    def copy(self):
        return _pyupm_bh1749.SwigPyIterator_copy(self)

    def next(self):
        return _pyupm_bh1749.SwigPyIterator_next(self)

    def __next__(self):
        return _pyupm_bh1749.SwigPyIterator___next__(self)

    def previous(self):
        return _pyupm_bh1749.SwigPyIterator_previous(self)

    def advance(self, n):
        return _pyupm_bh1749.SwigPyIterator_advance(self, n)

    def __eq__(self, x):
        return _pyupm_bh1749.SwigPyIterator___eq__(self, x)

    def __ne__(self, x):
        return _pyupm_bh1749.SwigPyIterator___ne__(self, x)

    def __iadd__(self, n):
        return _pyupm_bh1749.SwigPyIterator___iadd__(self, n)

    def __isub__(self, n):
        return _pyupm_bh1749.SwigPyIterator___isub__(self, n)

    def __add__(self, n):
        return _pyupm_bh1749.SwigPyIterator___add__(self, n)

    def __sub__(self, *args):
        return _pyupm_bh1749.SwigPyIterator___sub__(self, *args)
    def __iter__(self):
        return self
SwigPyIterator_swigregister = _pyupm_bh1749.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)

class uint16Vector(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, uint16Vector, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, uint16Vector, name)
    __repr__ = _swig_repr

    def iterator(self):
        return _pyupm_bh1749.uint16Vector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _pyupm_bh1749.uint16Vector___nonzero__(self)

    def __bool__(self):
        return _pyupm_bh1749.uint16Vector___bool__(self)

    def __len__(self):
        return _pyupm_bh1749.uint16Vector___len__(self)

    def __getslice__(self, i, j):
        return _pyupm_bh1749.uint16Vector___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _pyupm_bh1749.uint16Vector___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _pyupm_bh1749.uint16Vector___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _pyupm_bh1749.uint16Vector___delitem__(self, *args)

    def __getitem__(self, *args):
        return _pyupm_bh1749.uint16Vector___getitem__(self, *args)

    def __setitem__(self, *args):
        return _pyupm_bh1749.uint16Vector___setitem__(self, *args)

    def pop(self):
        return _pyupm_bh1749.uint16Vector_pop(self)

    def append(self, x):
        return _pyupm_bh1749.uint16Vector_append(self, x)

    def empty(self):
        return _pyupm_bh1749.uint16Vector_empty(self)

    def size(self):
        return _pyupm_bh1749.uint16Vector_size(self)

    def swap(self, v):
        return _pyupm_bh1749.uint16Vector_swap(self, v)

    def begin(self):
        return _pyupm_bh1749.uint16Vector_begin(self)

    def end(self):
        return _pyupm_bh1749.uint16Vector_end(self)

    def rbegin(self):
        return _pyupm_bh1749.uint16Vector_rbegin(self)

    def rend(self):
        return _pyupm_bh1749.uint16Vector_rend(self)

    def clear(self):
        return _pyupm_bh1749.uint16Vector_clear(self)

    def get_allocator(self):
        return _pyupm_bh1749.uint16Vector_get_allocator(self)

    def pop_back(self):
        return _pyupm_bh1749.uint16Vector_pop_back(self)

    def erase(self, *args):
        return _pyupm_bh1749.uint16Vector_erase(self, *args)

    def __init__(self, *args):
        this = _pyupm_bh1749.new_uint16Vector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def push_back(self, x):
        return _pyupm_bh1749.uint16Vector_push_back(self, x)

    def front(self):
        return _pyupm_bh1749.uint16Vector_front(self)

    def back(self):
        return _pyupm_bh1749.uint16Vector_back(self)

    def assign(self, n, x):
        return _pyupm_bh1749.uint16Vector_assign(self, n, x)

    def resize(self, *args):
        return _pyupm_bh1749.uint16Vector_resize(self, *args)

    def insert(self, *args):
        return _pyupm_bh1749.uint16Vector_insert(self, *args)

    def reserve(self, n):
        return _pyupm_bh1749.uint16Vector_reserve(self, n)

    def capacity(self):
        return _pyupm_bh1749.uint16Vector_capacity(self)
    __swig_destroy__ = _pyupm_bh1749.delete_uint16Vector
    __del__ = lambda self: None
uint16Vector_swigregister = _pyupm_bh1749.uint16Vector_swigregister
uint16Vector_swigregister(uint16Vector)

INT_JUDGE_0 = _pyupm_bh1749.INT_JUDGE_0
INT_JUDGE_1 = _pyupm_bh1749.INT_JUDGE_1
INT_JUDGE_4 = _pyupm_bh1749.INT_JUDGE_4
INT_JUDGE_8 = _pyupm_bh1749.INT_JUDGE_8
MEAS_35MS = _pyupm_bh1749.MEAS_35MS
MEAS_120MS = _pyupm_bh1749.MEAS_120MS
MEAS_240MS = _pyupm_bh1749.MEAS_240MS
RGB_GAIN_1X = _pyupm_bh1749.RGB_GAIN_1X
RGB_GAIN_32X = _pyupm_bh1749.RGB_GAIN_32X
IR_GAIN_1X = _pyupm_bh1749.IR_GAIN_1X
IR_GAIN_32X = _pyupm_bh1749.IR_GAIN_32X
RED = _pyupm_bh1749.RED
GREEN = _pyupm_bh1749.GREEN
BLUE = _pyupm_bh1749.BLUE
class _bh1749_context(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, _bh1749_context, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, _bh1749_context, name)
    __repr__ = _swig_repr
    __swig_setmethods__["i2c"] = _pyupm_bh1749._bh1749_context_i2c_set
    __swig_getmethods__["i2c"] = _pyupm_bh1749._bh1749_context_i2c_get
    if _newclass:
        i2c = _swig_property(_pyupm_bh1749._bh1749_context_i2c_get, _pyupm_bh1749._bh1749_context_i2c_set)
    __swig_setmethods__["interrupt"] = _pyupm_bh1749._bh1749_context_interrupt_set
    __swig_getmethods__["interrupt"] = _pyupm_bh1749._bh1749_context_interrupt_get
    if _newclass:
        interrupt = _swig_property(_pyupm_bh1749._bh1749_context_interrupt_get, _pyupm_bh1749._bh1749_context_interrupt_set)
    __swig_setmethods__["enabled"] = _pyupm_bh1749._bh1749_context_enabled_set
    __swig_getmethods__["enabled"] = _pyupm_bh1749._bh1749_context_enabled_get
    if _newclass:
        enabled = _swig_property(_pyupm_bh1749._bh1749_context_enabled_get, _pyupm_bh1749._bh1749_context_enabled_set)
    __swig_setmethods__["isrEnabled"] = _pyupm_bh1749._bh1749_context_isrEnabled_set
    __swig_getmethods__["isrEnabled"] = _pyupm_bh1749._bh1749_context_isrEnabled_get
    if _newclass:
        isrEnabled = _swig_property(_pyupm_bh1749._bh1749_context_isrEnabled_get, _pyupm_bh1749._bh1749_context_isrEnabled_set)
    __swig_setmethods__["int_thh"] = _pyupm_bh1749._bh1749_context_int_thh_set
    __swig_getmethods__["int_thh"] = _pyupm_bh1749._bh1749_context_int_thh_get
    if _newclass:
        int_thh = _swig_property(_pyupm_bh1749._bh1749_context_int_thh_get, _pyupm_bh1749._bh1749_context_int_thh_set)
    __swig_setmethods__["int_thl"] = _pyupm_bh1749._bh1749_context_int_thl_set
    __swig_getmethods__["int_thl"] = _pyupm_bh1749._bh1749_context_int_thl_get
    if _newclass:
        int_thl = _swig_property(_pyupm_bh1749._bh1749_context_int_thl_get, _pyupm_bh1749._bh1749_context_int_thl_set)
    __swig_setmethods__["int_src"] = _pyupm_bh1749._bh1749_context_int_src_set
    __swig_getmethods__["int_src"] = _pyupm_bh1749._bh1749_context_int_src_get
    if _newclass:
        int_src = _swig_property(_pyupm_bh1749._bh1749_context_int_src_get, _pyupm_bh1749._bh1749_context_int_src_set)
    __swig_setmethods__["ir_gain"] = _pyupm_bh1749._bh1749_context_ir_gain_set
    __swig_getmethods__["ir_gain"] = _pyupm_bh1749._bh1749_context_ir_gain_get
    if _newclass:
        ir_gain = _swig_property(_pyupm_bh1749._bh1749_context_ir_gain_get, _pyupm_bh1749._bh1749_context_ir_gain_set)
    __swig_setmethods__["rgb_gain"] = _pyupm_bh1749._bh1749_context_rgb_gain_set
    __swig_getmethods__["rgb_gain"] = _pyupm_bh1749._bh1749_context_rgb_gain_get
    if _newclass:
        rgb_gain = _swig_property(_pyupm_bh1749._bh1749_context_rgb_gain_get, _pyupm_bh1749._bh1749_context_rgb_gain_set)
    __swig_setmethods__["meas_time"] = _pyupm_bh1749._bh1749_context_meas_time_set
    __swig_getmethods__["meas_time"] = _pyupm_bh1749._bh1749_context_meas_time_get
    if _newclass:
        meas_time = _swig_property(_pyupm_bh1749._bh1749_context_meas_time_get, _pyupm_bh1749._bh1749_context_meas_time_set)
    __swig_setmethods__["operating_mode"] = _pyupm_bh1749._bh1749_context_operating_mode_set
    __swig_getmethods__["operating_mode"] = _pyupm_bh1749._bh1749_context_operating_mode_get
    if _newclass:
        operating_mode = _swig_property(_pyupm_bh1749._bh1749_context_operating_mode_get, _pyupm_bh1749._bh1749_context_operating_mode_set)

    def __init__(self):
        this = _pyupm_bh1749.new__bh1749_context()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _pyupm_bh1749.delete__bh1749_context
    __del__ = lambda self: None
_bh1749_context_swigregister = _pyupm_bh1749._bh1749_context_swigregister
_bh1749_context_swigregister(_bh1749_context)


def bh1749_check_who_am_i(dev):
    return _pyupm_bh1749.bh1749_check_who_am_i(dev)
bh1749_check_who_am_i = _pyupm_bh1749.bh1749_check_who_am_i

def bh1749_init(bus, addr):
    return _pyupm_bh1749.bh1749_init(bus, addr)
bh1749_init = _pyupm_bh1749.bh1749_init

def bh1749_close(dev):
    return _pyupm_bh1749.bh1749_close(dev)
bh1749_close = _pyupm_bh1749.bh1749_close

def bh1749_enable(dev):
    return _pyupm_bh1749.bh1749_enable(dev)
bh1749_enable = _pyupm_bh1749.bh1749_enable

def bh1749_disable(dev):
    return _pyupm_bh1749.bh1749_disable(dev)
bh1749_disable = _pyupm_bh1749.bh1749_disable

def bh1749_sensor_init(dev, opMode, measTime, rgbGain, irGain, intSource):
    return _pyupm_bh1749.bh1749_sensor_init(dev, opMode, measTime, rgbGain, irGain, intSource)
bh1749_sensor_init = _pyupm_bh1749.bh1749_sensor_init

def bh1749_set_operating_mode(dev, opMode):
    return _pyupm_bh1749.bh1749_set_operating_mode(dev, opMode)
bh1749_set_operating_mode = _pyupm_bh1749.bh1749_set_operating_mode

def bh1749_get_operating_mode(dev, opMode):
    return _pyupm_bh1749.bh1749_get_operating_mode(dev, opMode)
bh1749_get_operating_mode = _pyupm_bh1749.bh1749_get_operating_mode

def bh1749_set_measurement_time(dev, measTime):
    return _pyupm_bh1749.bh1749_set_measurement_time(dev, measTime)
bh1749_set_measurement_time = _pyupm_bh1749.bh1749_set_measurement_time

def bh1749_get_measurement_time(dev, meas_time):
    return _pyupm_bh1749.bh1749_get_measurement_time(dev, meas_time)
bh1749_get_measurement_time = _pyupm_bh1749.bh1749_get_measurement_time

def bh1749_set_rgb_gain(dev, rgbGain):
    return _pyupm_bh1749.bh1749_set_rgb_gain(dev, rgbGain)
bh1749_set_rgb_gain = _pyupm_bh1749.bh1749_set_rgb_gain

def bh1749_get_rgb_gain(dev, gain):
    return _pyupm_bh1749.bh1749_get_rgb_gain(dev, gain)
bh1749_get_rgb_gain = _pyupm_bh1749.bh1749_get_rgb_gain

def bh1749_set_ir_gain(dev, irGain):
    return _pyupm_bh1749.bh1749_set_ir_gain(dev, irGain)
bh1749_set_ir_gain = _pyupm_bh1749.bh1749_set_ir_gain

def bh1749_get_ir_gain(dev, gain):
    return _pyupm_bh1749.bh1749_get_ir_gain(dev, gain)
bh1749_get_ir_gain = _pyupm_bh1749.bh1749_get_ir_gain

def bh1749_set_int_source(dev, intSource):
    return _pyupm_bh1749.bh1749_set_int_source(dev, intSource)
bh1749_set_int_source = _pyupm_bh1749.bh1749_set_int_source

def bh1749_get_interrupt_source_char(dev):
    return _pyupm_bh1749.bh1749_get_interrupt_source_char(dev)
bh1749_get_interrupt_source_char = _pyupm_bh1749.bh1749_get_interrupt_source_char

def bh1749_enable_interrupt(dev):
    return _pyupm_bh1749.bh1749_enable_interrupt(dev)
bh1749_enable_interrupt = _pyupm_bh1749.bh1749_enable_interrupt

def bh1749_disable_interrupt(dev):
    return _pyupm_bh1749.bh1749_disable_interrupt(dev)
bh1749_disable_interrupt = _pyupm_bh1749.bh1749_disable_interrupt

def bh1749_reset_interrupt(dev):
    return _pyupm_bh1749.bh1749_reset_interrupt(dev)
bh1749_reset_interrupt = _pyupm_bh1749.bh1749_reset_interrupt

def bh1749_is_interrupted(dev):
    return _pyupm_bh1749.bh1749_is_interrupted(dev)
bh1749_is_interrupted = _pyupm_bh1749.bh1749_is_interrupted

def bh1749_is_interrupt_enabled(dev):
    return _pyupm_bh1749.bh1749_is_interrupt_enabled(dev)
bh1749_is_interrupt_enabled = _pyupm_bh1749.bh1749_is_interrupt_enabled

def bh1749_soft_reset(dev):
    return _pyupm_bh1749.bh1749_soft_reset(dev)
bh1749_soft_reset = _pyupm_bh1749.bh1749_soft_reset

def bh1749_set_threshold_high(dev, threshold):
    return _pyupm_bh1749.bh1749_set_threshold_high(dev, threshold)
bh1749_set_threshold_high = _pyupm_bh1749.bh1749_set_threshold_high

def bh1749_get_threshold_high(dev, threshold):
    return _pyupm_bh1749.bh1749_get_threshold_high(dev, threshold)
bh1749_get_threshold_high = _pyupm_bh1749.bh1749_get_threshold_high

def bh1749_set_threshold_low(dev, threshold):
    return _pyupm_bh1749.bh1749_set_threshold_low(dev, threshold)
bh1749_set_threshold_low = _pyupm_bh1749.bh1749_set_threshold_low

def bh1749_get_threshold_low(dev, threshold):
    return _pyupm_bh1749.bh1749_get_threshold_low(dev, threshold)
bh1749_get_threshold_low = _pyupm_bh1749.bh1749_get_threshold_low

def bh1749_get_red(dev, red):
    return _pyupm_bh1749.bh1749_get_red(dev, red)
bh1749_get_red = _pyupm_bh1749.bh1749_get_red

def bh1749_get_green(dev, green):
    return _pyupm_bh1749.bh1749_get_green(dev, green)
bh1749_get_green = _pyupm_bh1749.bh1749_get_green

def bh1749_get_blue(dev, blue):
    return _pyupm_bh1749.bh1749_get_blue(dev, blue)
bh1749_get_blue = _pyupm_bh1749.bh1749_get_blue

def bh1749_get_ir(dev, ir):
    return _pyupm_bh1749.bh1749_get_ir(dev, ir)
bh1749_get_ir = _pyupm_bh1749.bh1749_get_ir

def bh1749_get_green2(dev, green2):
    return _pyupm_bh1749.bh1749_get_green2(dev, green2)
bh1749_get_green2 = _pyupm_bh1749.bh1749_get_green2

def bh1749_get_measurements(dev, result):
    return _pyupm_bh1749.bh1749_get_measurements(dev, result)
bh1749_get_measurements = _pyupm_bh1749.bh1749_get_measurements

def bh1749_install_isr(dev, edge, pin, isr, isr_args):
    return _pyupm_bh1749.bh1749_install_isr(dev, edge, pin, isr, isr_args)
bh1749_install_isr = _pyupm_bh1749.bh1749_install_isr

def bh1749_remove_isr(dev):
    return _pyupm_bh1749.bh1749_remove_isr(dev)
bh1749_remove_isr = _pyupm_bh1749.bh1749_remove_isr

def bh1749_registers_dump(dev, dump):
    return _pyupm_bh1749.bh1749_registers_dump(dev, dump)
bh1749_registers_dump = _pyupm_bh1749.bh1749_registers_dump
class BH1749(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, BH1749, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, BH1749, name)
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _pyupm_bh1749.new_BH1749(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _pyupm_bh1749.delete_BH1749
    __del__ = lambda self: None

    def Enable(self):
        return _pyupm_bh1749.BH1749_Enable(self)

    def Disable(self):
        return _pyupm_bh1749.BH1749_Disable(self)

    def CheckWhoAmI(self):
        return _pyupm_bh1749.BH1749_CheckWhoAmI(self)

    def SensorInit(self, opMode, measTime, rgbGain, irGain, intSource):
        return _pyupm_bh1749.BH1749_SensorInit(self, opMode, measTime, rgbGain, irGain, intSource)

    def SetOperatingMode(self, opMode):
        return _pyupm_bh1749.BH1749_SetOperatingMode(self, opMode)

    def GetOperatingMode(self):
        return _pyupm_bh1749.BH1749_GetOperatingMode(self)

    def SetMeasurementTime(self, measTime):
        return _pyupm_bh1749.BH1749_SetMeasurementTime(self, measTime)

    def GetMeasurementTime(self):
        return _pyupm_bh1749.BH1749_GetMeasurementTime(self)

    def SetRgbGain(self, rgbGain):
        return _pyupm_bh1749.BH1749_SetRgbGain(self, rgbGain)

    def GetRgbGain(self):
        return _pyupm_bh1749.BH1749_GetRgbGain(self)

    def SetIrGain(self, irGain):
        return _pyupm_bh1749.BH1749_SetIrGain(self, irGain)

    def GetIrGain(self):
        return _pyupm_bh1749.BH1749_GetIrGain(self)

    def SetIntSource(self, intSource):
        return _pyupm_bh1749.BH1749_SetIntSource(self, intSource)

    def GetInterruptSourceChar(self):
        return _pyupm_bh1749.BH1749_GetInterruptSourceChar(self)

    def EnableInterrupt(self):
        return _pyupm_bh1749.BH1749_EnableInterrupt(self)

    def DisableInterrupt(self):
        return _pyupm_bh1749.BH1749_DisableInterrupt(self)

    def ResetInterrupt(self):
        return _pyupm_bh1749.BH1749_ResetInterrupt(self)

    def IsInterrupted(self):
        return _pyupm_bh1749.BH1749_IsInterrupted(self)

    def IsInterruptEnabled(self):
        return _pyupm_bh1749.BH1749_IsInterruptEnabled(self)

    def SoftReset(self):
        return _pyupm_bh1749.BH1749_SoftReset(self)

    def SetThresholdHigh(self, threshold):
        return _pyupm_bh1749.BH1749_SetThresholdHigh(self, threshold)

    def GetThresholdHigh(self):
        return _pyupm_bh1749.BH1749_GetThresholdHigh(self)

    def SetThresholdLow(self, threshold):
        return _pyupm_bh1749.BH1749_SetThresholdLow(self, threshold)

    def GetThresholdLow(self):
        return _pyupm_bh1749.BH1749_GetThresholdLow(self)

    def GetRed(self):
        return _pyupm_bh1749.BH1749_GetRed(self)

    def GetGreen(self):
        return _pyupm_bh1749.BH1749_GetGreen(self)

    def GetBlue(self):
        return _pyupm_bh1749.BH1749_GetBlue(self)

    def GetIr(self):
        return _pyupm_bh1749.BH1749_GetIr(self)

    def GetGeen2(self):
        return _pyupm_bh1749.BH1749_GetGeen2(self)

    def GetMeasurements(self):
        return _pyupm_bh1749.BH1749_GetMeasurements(self)

    def InstallISR(self, edge, pin, isr, isr_args):
        return _pyupm_bh1749.BH1749_InstallISR(self, edge, pin, isr, isr_args)

    def RemoveISR(self):
        return _pyupm_bh1749.BH1749_RemoveISR(self)

    def RegistersDump(self):
        return _pyupm_bh1749.BH1749_RegistersDump(self)
BH1749_swigregister = _pyupm_bh1749.BH1749_swigregister
BH1749_swigregister(BH1749)

# This file is compatible with both classic and new-style classes.


