/I2Cteensy

I2C implementation for Teensy microcontrollers

Primary LanguageC++MIT LicenseMIT

I2Cteensy library

I2C implementation for Teensy microcontrollers

The What

This library is a Teensy implementation for I2C controllers.

The Why

Because this library inherits the I2C interface, it can be applied in a modular manner.

The How

Building

Dependencies

Usage

Typical operation:

#include "I2Cteensy.h"

I2C::Config i2cConfig(0x00, 100000);
I2Cteensy i2c();
i2c.init();

char data[1] = 0xAA;
i2c.send(i2cConfig, data, sizeof(data));
i2c.receive(i2cConfig, data, sizeof(data));

The Who

Einar Arnason
https://github.com/EinarArnason
https://www.linkedin.com/in/einararnason/