ulikoehler / QuickI2C

Take the insanity out of the Wire I2C API. QuickI2C is a simple, safe and easy-to-use register-based Arduino Wire I2C wrapper, allowing direct register access with proper error handling.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QuickI2C

Practical Arduino Wire I2C wrapper, allowing direct register access with proper error handling.

This is intended to be similar to AdaFruit BusIO but provide a more convenient API and less memory footprint. For example, every Adafruit_BusIO_Register is an actual object occupying a bunch of bytes of RAM and does not provide verified read functionality.

How?

QuickI2C provides classes macro tricks to automatically define appropriate functions for any register, with zero memory footprint for additional registers.

Installation

In PlatformIO, add the library by adding the following to platformio.ini:

lib_deps =
    ulikoehler/QuickI2C@^1.1

About

Take the insanity out of the Wire I2C API. QuickI2C is a simple, safe and easy-to-use register-based Arduino Wire I2C wrapper, allowing direct register access with proper error handling.

License:Apache License 2.0


Languages

Language:C++ 100.0%