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

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

src/p/i/pifacedigitalio-3.0.5/pifacedigitalio/core.py   pifacedigitalio(Download)
 
        self.input_pins = [pifacecommon.mcp23s17.MCP23S17RegisterBitNeg(
            i, pifacecommon.mcp23s17.GPIOB, self)
            for i in range(8)]
 
 
        self.switches = [pifacecommon.mcp23s17.MCP23S17RegisterBitNeg(
            i, pifacecommon.mcp23s17.GPIOB, self)
            for i in range(4)]
 

src/p/i/pifacedigitalio-HEAD/pifacedigitalio/core.py   pifacedigitalio(Download)
 
        self.input_pins = [pifacecommon.mcp23s17.MCP23S17RegisterBitNeg(
            i, pifacecommon.mcp23s17.GPIOB, self)
            for i in range(8)]
 
 
        self.switches = [pifacecommon.mcp23s17.MCP23S17RegisterBitNeg(
            i, pifacecommon.mcp23s17.GPIOB, self)
            for i in range(4)]
 

src/p/i/pifacecad-HEAD/pifacecad/core.py   pifacecad(Download)
 
        self.switches = [pifacecommon.mcp23s17.MCP23S17RegisterBitNeg(
            i, pifacecommon.mcp23s17.GPIOA, self)
            for i in range(NUM_SWITCHES)]