SWI2C Library v2.0.0
- 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
touint8_t regAddress
in several function calls - Changed
void writeAddress(int r_w)
tovoid writeAddress(uint8_t r_w)
- Changed
void writeByte(int data)
tovoid writeByte(uint8_t data)
- Changed several internal counter variable types from
int
touint8_t
- Changed
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