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

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

src/p/i/pifacedigitalio-3.0.5/pifacedigitalio/core.py   pifacedigitalio(Download)
 
        self.output_pins = [pifacecommon.mcp23s17.MCP23S17RegisterBit(
            i, pifacecommon.mcp23s17.GPIOA, self)
            for i in range(8)]
 
        self.output_port = pifacecommon.mcp23s17.MCP23S17Register(
            pifacecommon.mcp23s17.GPIOA, self)
 
        self.leds = [pifacecommon.mcp23s17.MCP23S17RegisterBit(
            i, pifacecommon.mcp23s17.GPIOA, self)
 
        self.relays = [pifacecommon.mcp23s17.MCP23S17RegisterBit(
            i, pifacecommon.mcp23s17.GPIOA, self)
            for i in range(2)]
 

src/p/i/pifacedigitalio-HEAD/pifacedigitalio/core.py   pifacedigitalio(Download)
 
        self.output_pins = [pifacecommon.mcp23s17.MCP23S17RegisterBit(
            i, pifacecommon.mcp23s17.GPIOA, self)
            for i in range(8)]
 
        self.output_port = pifacecommon.mcp23s17.MCP23S17Register(
            pifacecommon.mcp23s17.GPIOA, self)
 
        self.leds = [pifacecommon.mcp23s17.MCP23S17RegisterBit(
            i, pifacecommon.mcp23s17.GPIOA, self)
 
        self.relays = [pifacecommon.mcp23s17.MCP23S17RegisterBit(
            i, pifacecommon.mcp23s17.GPIOA, self)
            for i in range(2)]