本人初学arduino,在使用I2C协议连接HIH6120系列的温湿度传感器后运行程序发现只有第一次又正确的响应,后续的响应全是乱码。求大佬指教究竟哪里出现了问题orz
// This example demonstrates how to use the HIH61xx class with the Wire library. A blocking read is made to the
// HIH61xx device. See HIH61xx_Wire_demo for a more sophisticated example which allows other tasks to run
// whilst the HIH61xx takes its measurements.
// The "hih" object must be created with a reference to the "Wire" object which represents the I2C bus it is using.
// Note that the class for the Wire object is called "TwoWire", and must be included in the templated class name.
HIH61xx<TwoWire> hih(Wire);