Skip to content

Releases: ZHomeSlice/Simple_Wire

Simple_Wire v2.0.1

04 Mar 13:54
30ea673
Compare
Choose a tag to compare

Simple_Wire v2.0.1

This release simplifies and streamlines I²C communication by centralizing all read and write operations through two core template functions: TWrite and TRead. These functions support both signed and unsigned integers in 8, 16, 24, 32, and 64-bit formats, handling everything from a single bit update to transferring large arrays of bytes or integers over the I²C buffer.

Key Features:

  • Two Core Functions:

    • TWrite and TRead manage all I²C read/write operations, reducing complexity and simplifying troubleshooting.
  • Extensive Helper Functions:

    • 76 helper functions are provided to simplify common tasks built on top of the core functions.
  • Advanced Bit Manipulation:

    • 24 dedicated bit manipulation functions allow you to update specific bits or groups of bits in a register while preserving the remaining bits.
  • Robust Connection Structure:

    • The library includes comprehensive functionality to connect, detect, and verify component addresses, ensuring reliable communication.
  • Modular and Expandable Design:

    • Designed as a class that wraps the Wire library, the focus on the two central functions makes it easy to expand the library with new helper functions as needed.

Overall, this release offers a clean, powerful, and extensible solution for I²C communication, making it faster and simpler to interface with a variety of devices.