usdx icon indicating copy to clipboard operation
usdx copied to clipboard

Bit banging I2C

Open abbrev opened this issue 4 years ago • 4 comments

Hi @threeme3, is there a reason that I2C is bit banged on pins that support hardware I2C? Specifically in class I2C:

https://github.com/threeme3/QCX-SSB/blob/57e438da4425f3d22deb9ba9b5e64167a20d67b2/QCX-SSB.ino#L768-L775

We can probably at least reduce the code size a little by using the hardware I2C (though it probably wouldn't reduce the CPU load since we'd still have to synchronously wait for each byte to transfer).

abbrev avatar Aug 27 '20 00:08 abbrev