An open API service indexing awesome lists of open source software.

https://github.com/yasir-shahzad/softi2c

Software-based I2C communication library for Arduino
https://github.com/yasir-shahzad/softi2c

arduino esp32 esp8266 i2c-bus i2c-sensors softi2c

Last synced: 8 months ago
JSON representation

Software-based I2C communication library for Arduino

Awesome Lists containing this project

README

          

# SoftI2C Arduino Library
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Installation instructions](https://www.ardu-badge.com/badge/SoftI2C.svg?)](https://www.ardu-badge.com/SoftI2C)
[![Commits since latest](https://img.shields.io/github/commits-since/yasir-shahzad/SoftI2C/latest)](https://github.com/yasir-shahzad/SoftI2C/commits/master)
[![GitHub issues](https://img.shields.io/github/issues/yasir-shahzad/SoftI2C.svg)](https://github.com/yasir-shahzad/SoftI2C/issues)
[![Downloads](https://img.shields.io/github/downloads/free-pdk/easy-pdk-programmer-software/total.svg?maxAge=3600)](https://github.com/free-pdk/easy-pdk-programmer-software/releases/latest)
![Hit Counter](https://visitor-badge.laobi.icu/badge?page_id=yasir-shahzad_SoftI2C)

If you like **SoftI2C** - give it a star, or fork it and contribute!
[![GitHub stars](https://img.shields.io/github/stars/yasir-shahzad/SoftI2C.svg?style=social&label=Star)](https://github.com/yasir-shahzad/SoftI2C/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/yasir-shahzad/SoftI2C.svg?style=social&label=Fork)](https://github.com/yasir-shahzad/SoftI2C/network)

The SoftI2C library provides an Arduino-compatible implementation of the I2C communication protocol using software-based methods. It allows you to perform I2C communication without relying on hardware I2C pins, which can be useful in situations where hardware I2C is unavailable or needs to be emulated.

## Features

- Software-based I2C communication.
- Emulates I2C communication over GPIO pins.
- Provides read and write functionality.
- Easy-to-use API for I2C operations.

## Installation

1. Download the library ZIP file from the [GitHub repository](https://github.com/yasir-shahzad/SoftI2C).
2. In the Arduino IDE, go to `Sketch` > `Include Library` > `Add .ZIP Library...`.
3. Select the downloaded ZIP file and click `Open`..

## Usage

1. Include the library at the beginning of your sketch:

```cpp
#include


## Contributing
Contributions to the SoftI2C library are welcome! If you find any issues or have suggestions for improvements, please feel free to submit a pull request or open an issue on the GitHub repository..

## License
This project is licensed under the MIT License.