Esempio n. 1
0
    def __init__(self, *args):
        """
        __init__(upm::Lcm1602 self, int bus, int address, bool isExpander=True) -> Lcm1602

        Parameters:
            bus: int
            address: int
            isExpander: bool

        __init__(upm::Lcm1602 self, int bus, int address) -> Lcm1602

        Parameters:
            bus: int
            address: int

        __init__(upm::Lcm1602 self, uint8_t rs, uint8_t enable, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3) -> Lcm1602

        Parameters:
            rs: uint8_t
            enable: uint8_t
            d0: uint8_t
            d1: uint8_t
            d2: uint8_t
            d3: uint8_t

        """
        this = _pyupm_i2clcd.new_Lcm1602(*args)
        try:
            self.this.append(this)
        except:
            self.this = this
    def __init__(self, bus, address):
        """
        __init__(upm::Lcm1602 self, int bus, int address) -> Lcm1602

        Parameters:
            bus: int
            address: int

        """
        this = _pyupm_i2clcd.new_Lcm1602(bus, address)
        try:
            self.this.append(this)
        except:
            self.this = this
Esempio n. 3
0
    def __init__(self, *args):
        """
        __init__(upm::Lcm1602 self, int bus=0, int address=0x27, bool isExpander=True, uint8_t numColumns=16, uint8_t numRows=2) -> Lcm1602

        Parameters:
            bus: int
            address: int
            isExpander: bool
            numColumns: uint8_t
            numRows: uint8_t

        __init__(upm::Lcm1602 self, int bus=0, int address=0x27, bool isExpander=True, uint8_t numColumns=16) -> Lcm1602

        Parameters:
            bus: int
            address: int
            isExpander: bool
            numColumns: uint8_t

        __init__(upm::Lcm1602 self, int bus=0, int address=0x27, bool isExpander=True) -> Lcm1602

        Parameters:
            bus: int
            address: int
            isExpander: bool

        __init__(upm::Lcm1602 self, int bus=0, int address=0x27) -> Lcm1602

        Parameters:
            bus: int
            address: int

        __init__(upm::Lcm1602 self, int bus=0) -> Lcm1602

        Parameters:
            bus: int

        __init__(upm::Lcm1602 self) -> Lcm1602
        __init__(upm::Lcm1602 self, uint8_t rs, uint8_t enable, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3, uint8_t numColumns=16, uint8_t numRows=2) -> Lcm1602

        Parameters:
            rs: uint8_t
            enable: uint8_t
            d0: uint8_t
            d1: uint8_t
            d2: uint8_t
            d3: uint8_t
            numColumns: uint8_t
            numRows: uint8_t

        __init__(upm::Lcm1602 self, uint8_t rs, uint8_t enable, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3, uint8_t numColumns=16) -> Lcm1602

        Parameters:
            rs: uint8_t
            enable: uint8_t
            d0: uint8_t
            d1: uint8_t
            d2: uint8_t
            d3: uint8_t
            numColumns: uint8_t

        __init__(upm::Lcm1602 self, uint8_t rs, uint8_t enable, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3) -> Lcm1602

        Parameters:
            rs: uint8_t
            enable: uint8_t
            d0: uint8_t
            d1: uint8_t
            d2: uint8_t
            d3: uint8_t

        """
        this = _pyupm_i2clcd.new_Lcm1602(*args)
        try:
            self.this.append(this)
        except:
            self.this = this