This particular code does not use i2c. That being said, when I start using an i2c peripheral, i2c_init, will likely be called before passing the i2c handle to each peripheral driver. Not sure.Where in your code in the i2c_init()?
Yes, although if we're sleeping for milliseconds we should yield the current RTOS task until we're ready to do more work, rather than busy-looping.sleep_ms() is already the delay function, correct?
Statistics: Posted by jags84 — Fri Apr 26, 2024 4:52 am