Skip to content

SWI2C Library v2.0.0

Compare
Choose a tag to compare
@Andy4495 Andy4495 released this 19 Aug 22:56
· 25 commits to main since this release
  • Added new methods to simplify library usage for simple use cases. Existing methods were kept to preserve compatibility.
  • Consistently use unsigned, fix-sized types where appropriate
    • Changed int regAddress to uint8_t regAddress in several function calls
    • Changed void writeAddress(int r_w) to void writeAddress(uint8_t r_w)
    • Changed void writeByte(int data) to void writeByte(uint8_t data)
    • Changed several internal counter variable types from int to uint8_t

These data-type changes will probably not break any existing code. At a minimum, double-check compiler warnings when updating from version 1.x.x to 2.x.x of the library.

Full Changelog: v1.1.0...v2.0.0