Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 icm 20948 传感器,在运行 HarmonyV3.i2c 的 MPLABx 上编程是通信模式。我可以在函数中读写吗,它必须在一个while循环中吗?
例如会:
while(SERCOM1_I2C_IsBusy()) {} SERCOM1_I2C_Write(ICM20948_ADDRESS,&FAccrangefactor, 1);
在函数中正常运行。非常感谢