Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(12)  |  Derive(0)  |  Import(0)

src/r/p/rpi-timelapse-HEAD/Adafruit_CharLCDPlate.py   rpi-timelapse(Download)
	self.mcp = Adafruit_MCP230XX(busnum = busnum, address = 0x20, num_gpios = 16)
 
        self.mcp.config(self.pin_e, self.OUTPUT)
        self.mcp.config(self.pin_rs,  self.OUTPUT)
        self.mcp.config(self.pin_rw,  self.OUTPUT)
        self.mcp.output(self.pin_rw, 0)
        self.mcp.output(self.pin_e, 0)
 
        for pin in self.pins_db:
            self.mcp.config(pin,  self.OUTPUT)
 
	# turn on backlights!
    	self.mcp.config(6, self.mcp.OUTPUT)
    	self.mcp.config(7, self.mcp.OUTPUT)
    	self.mcp.config(8, self.mcp.OUTPUT)