资讯

from mcp23017 import * from i2c import I2C import smbus i2c = I2C(smbus.SMBus(1)) # creates a I2C Object as a wrapper for the SMBus mcp = MCP23017(0x20, i2c) # creates an MCP object with the given ...