ulno_iot_mpr121.py 文件源码

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

项目:ulnoiot 作者: ulno 项目源码 文件源码
def __init__(self, i2c_sda_pin, i2c_scl_pin):
        self.i2c = I2C(sda=Pin(i2c_sda_pin), scl=Pin(i2c_scl_pin))
        self.addr = 90 # I2C address of the MPR121
        # enable ELE0 - ELE3
        self.enable_elec(ELEC_ENABLE_DEFAULT)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号