Skip to content

Support utilizing reset to ensure communication with I2C device

Latest
Compare
Choose a tag to compare
@flav1972 flav1972 released this 22 Mar 20:18
· 3 commits to master since this release
618c4d8
  • Support utilizing reset to ensure communication with I2C device

begin() now calls a modified reset() which checks to see if the transmission is successful to the target address and returns false if it was a failure.

  • More consistent version of gaining access to success or failure of the reset

Additionally, allows #define for debug to be faciliated from the user's build by doing a -DINA219_DEBUG in the compilation rather than changing the library implementation.