Skip to content

Releases: Andy4495/SWI2C

SWI2C Library v2.0.2

16 Jan 22:57
Compare
Choose a tag to compare

What's Changed

Fixes #10 Check ACK after writing byte in writeToDevice()

Full Changelog: v2.0.1...v2.0.2

SWI2C Library v2.0.1

10 Jan 21:07
Compare
Choose a tag to compare

What's Changed

Fixes #9 ReadFromDevice not sending NACK bit

Full Changelog: v2.0.0...v2.0.1

SWI2C Library v2.0.0

19 Aug 22:56
Compare
Choose a tag to compare
  • 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

SWI2C Library v1.1.0

19 Aug 01:47
Compare
Choose a tag to compare

Add support for single register I2C devices that don't send register number as part of message, such as the PCA9548 and PCF8574 (fixes #3).

Add two more example sketches, including an I2C address scanner.

Full Changelog: v1.0.9...v1.1.0

SWI2C Library v1.0.9

19 Jun 17:30
c99af62
Compare
Choose a tag to compare

Fix #6 NACK handling.

Full Changelog: v1.0.8...v1.0.9

SWI2C Library v1.0.8

17 Sep 19:14
Compare
Choose a tag to compare

Fix #7: readBytesFromRegister() handling of stop bit introduced in v1.0.7

SWI2C Library v1.0.7

16 Sep 22:02
Compare
Choose a tag to compare

Add support for Repeated Start. Fixes #5.

Existing code should not need to change.

SWI2C Library v1.0.6

01 Sep 01:16
Compare
Choose a tag to compare

Add error checking for ACKs. Fixes #4. Existing code should not be impacted by this change.

SWI2C Library v1.0.5

26 Sep 03:53
Compare
Choose a tag to compare

Fix compiler warnings.