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