Skip to content

Software-based I2C communication library for Arduino

License

Notifications You must be signed in to change notification settings

yasir-shahzad/SoftI2C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SoftI2C Arduino Library

License: MIT Installation instructions Commits since latest GitHub issues Downloads Hit Counter

If you like SoftI2C - give it a star, or fork it and contribute! GitHub stars GitHub forks

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.
  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:

    #include <SoftI2C.h>
    
    

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.