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