为了提高I2C的效率,micropythhon新增加了一个函数:i2c.writevto()
函数的基本形式:i2c.writevto(addr, (buf1, buf2)).
它允许由地址+命令+数据的模式写入I2C,在命令后面紧跟大量数据,而无需重新设置缓冲区。
https://github.com/micropython/micropyt ... 97e3101f1b
micropython为I2C新增i2c.writevto()函数
-
- 随机主题
- 回复总数
- 阅读次数
- 最新文章
-
- 1回复总数
- 348 阅读次数
- 最新文章 由 shaoziyang
2022年 7月 19日 14:33
-
- 18回复总数
- 1483 阅读次数
- 最新文章 由 czfx
2022年 7月 20日 23:11
-
- 7回复总数
- 944 阅读次数
- 最新文章 由 shaoziyang
2022年 7月 30日 16:29