pkinney / tmf882x

MIT License
9 stars 2 forks source link

TMF8821 Testing + Upgrade circuits_i2c? #1

Open mmmries opened 1 year ago

mmmries commented 1 year ago

Hi @pkinney thanks for writing this awesome library. I've started it using it with a TMF8821 sensor in my trilobot project. In order to use this library with the current version of nerves, I needed to add {:circuits_i2c, "~> 2.0", override: true}. Part of the 2.0 release for circuits_i2c is the ability to create simulated backends for an i2c connection.

I was wondering if you have any thoughts about this for your project? Would it be helpful if I work up a PR to upgrade this project and replay to support circuits_i2c "~> 1.0 or ~> 2.0" and keep using your replay library for testing? Or I could try out the new testing tools built into circuits_i2c?

pkinney commented 1 year ago

Absolutely! I haven't had a chance to mess with Circuits 2.0 yet, so feel free to take a crack at it. If you have any questions or want to work together on it, feel free to reach out.