Closed DhruvaG2000 closed 2 years ago
For historical discussion on implementing i2c please refer: https://github.com/DhruvaG2000/Arduino-Core-Zephyr/pull/5
I tested this branch with the changes that I sent here using a BH1750 sensor and this library - https://github.com/claws/BH1750
The only change that I had to make to the BH1750 lib was to replace the Serial.println
with printk
statements as we don't support Serial
yet.
Outdated. Closing.
Tested with a custom example for ADXL345 which can be found here
Follows latest licensing and directory structure
uses ringBuffer
TODO: Testing for multiple byte read/write
TODO: Add i2c example if required
Signed-off-by: Dhruva Gole goledhruva@gmail.com