puuu / USIWire

USI based TWI/I2C library for Arduino
GNU Lesser General Public License v3.0
60 stars 18 forks source link
arduino attiny i2c usi

Build Status

USIWire

Arduino Wire compatible library, supporting I²C, I2C, IIC and/or (Two Wire Interface) TWI for Atmel ATTiny microprocessors utilizing the Universal Serial Interface (USI). This library proviedes Master and Slave functionality.

Installation

This library can easily be installed via Arduino Library Manager.

Usage and Support

Please have a look to the original Arduino Wire Library. Just include the library in your sketch:

#include <USIWire.h>

This library is tested to compile against:

ATTiny support for Arduino is provided by ATTiny Core.

Features

Differences to Arduino Wire Library

To reduce the memory footprint of this library, a common buffer of 32 byte for slave and master mode is used. This require some care in the sketches:

Contributing

Contributions are welcome! If you find an bug, feel free to open an issue at GitHub or even a pull requests ;-).

Acknowledgement

Links