I2C.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:pimaa 作者: outboxafrica 项目源码 文件源码
def __init__(self, address, busnum):
        """Create an instance of the I2C device at the specified address on the
        specified I2C bus number."""
        self._address = address
        self._bus = smbus.SMBus(busnum)
        self._logger = logging.getLogger('Adafruit_I2C.Device.Bus.{0}.Address.{1:#0X}' \
                                .format(busnum, address))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号