adafruit / Adafruit_CircuitPython_BusDevice

Two helper classes that handle transaction related state for I2C and SPI including locks.
MIT License
108 stars 76 forks source link

add a note about CirPy v6.3.0+ having this lib baked in #67

Closed 2bndy5 closed 3 years ago

2bndy5 commented 3 years ago

I was wondering if it would be prudent to add a note (probably in the README) about how v6.3.0+ of Circuitpython firmware already has this lib included. I haven't checked thoroughly if this is true for all boards running CirPy (ie ATSAMD21)

After some testing, I found the SPIDevice class (from firmware) executes slightly faster than this pure python implementation. 💯

tannewt commented 3 years ago

Would you mind making a pull request? I like your idea.

2bndy5 commented 3 years ago

sure (I don't mind).