zephyrproject-rtos / gsoc-2022-arduino-core

Arduino Core Zephyr Module (GSoC 2022 Project)
Apache License 2.0
44 stars 11 forks source link

feat/i2c: Add I2C wrapper functions #8

Closed DhruvaG2000 closed 2 years ago

DhruvaG2000 commented 2 years ago

Signed-off-by: Dhruva Gole goledhruva@gmail.com

DhruvaG2000 commented 2 years ago

For historical discussion on implementing i2c please refer: https://github.com/DhruvaG2000/Arduino-Core-Zephyr/pull/5

alvarowolfx commented 2 years ago

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.

Screen Shot 2022-08-01 at 16 13 36

DhruvaG2000 commented 2 years ago

Outdated. Closing.