01 2024 档案

摘要:树莓派有I2C通信接口,需要开启并使用特定引脚,然后使用smbus进行通信使用。 为了加深对于I2C通信过程中的信号的处理,通过使用GPIO模拟I2C通信,完成MPU6050的数据读取。 from gpiozero import DigitalOutputDevice, DigitalInputDe 阅读全文
posted @ 2024-01-19 02:05 mahuan2 阅读(187) 评论(0) 推荐(0) 编辑