为了提高I2C的效率,micropythhon新增加了一个函数:i2c.writevto()
函数的基本形式:i2c.writevto(addr, (buf1, buf2)).
它允许由地址+命令+数据的模式写入I2C,在命令后面紧跟大量数据,而无需重新设置缓冲区。
https://github.com/micropython/micropyt ... 97e3101f1b
micropython为I2C新增i2c.writevto()函数
-
- 随机主题
- 回复总数
- 阅读次数
- 最新文章
-
- 3回复总数
- 4476 阅读次数
- 最新文章 由 slotg
2020年 4月 1日 11:11
-
- 10回复总数
- 13376 阅读次数
- 最新文章 由 shaoziyang
2020年 4月 29日 23:43
-
- 1回复总数
- 3929 阅读次数
- 最新文章 由 shaoziyang
2020年 4月 1日 21:17