i2cdetect输出结果重定向,> a.log。

i2cdetect输出结果重定向

i2cdetect -y -r 2 > a.log

i2c检测,输出重定向,因为得到的数被打印的调试信息冲掉了。

另外,网上的资料。

https://www.linuxprobe.com/linux-comes-with-i2c-tools.html

https://blog.csdn.net/sanmaoljh/article/details/52055322

https://blog.csdn.net/zjy900507/article/details/78655384

猜你喜欢

转载自blog.csdn.net/liuhuit2006/article/details/85063094