Closed fourstix closed 2 years ago
For details, please see this issue and the fix in the QwiicTwist code:
Issue: https://github.com/fourstix/Sparkfun_CircuitPython_QwiicTwist/issues/5
Code changes in history: https://github.com/fourstix/Sparkfun_CircuitPython_QwiicTwist/commit/79878caf0bd2b0627120c4eb6a172b3af3ac85a4#diff-03c23aa794e3755dc2d761de2bfca99e123ccab167bd156e738bbf81f8ef9e6d
Updated.
Change the Write followed by Reads to use write_then_readinto(bytes([addr & 0xFF]), result)