https://github.com/dead-tech/i2c
Library for I2C protocol
https://github.com/dead-tech/i2c
avr c99 i2c mit-license
Last synced: 9 months ago
JSON representation
Library for I2C protocol
- Host: GitHub
- URL: https://github.com/dead-tech/i2c
- Owner: dead-tech
- License: mit
- Created: 2025-03-14T10:44:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-15T10:03:52.000Z (about 1 year ago)
- Last Synced: 2025-04-15T10:44:00.051Z (about 1 year ago)
- Topics: avr, c99, i2c, mit-license
- Language: C
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# I2C protocol
This is a library that aims to implement the [I2C protocol](https://en.wikipedia.org/wiki/I%C2%B2C) for AVR architecture.
__Disclaimer__: The library has been tested only on ATmega2560 microcontroller and ATmega328P.
## Installation
This is a stb-style header-only library. Therefore to install the library simply:
1. wget the [header file](./include/twi.h) by clicking the raw button and copying the link
2. copy it into your project folder
3. include it in your source files
For further information about stb-style header-only libries [click here](https://github.com/nothings/stb?tab=readme-ov-file#faq).
## Examples
See the [examples](./examples/) folder.