SoftWire

Software I2C library.

Author
Steve Marple
Website
https://github.com/stevemarple/SoftWire
Category
Communication
License
LGPL 2.1
Library Type
Contributed
Architectures
Any

SoftWire is a software I2C implementation for Arduino and other Wiring-type environments. It utilises the pinMode(), digitalWrite() and digitalRead() functions. The pins to be used for the serial data (SDA) and serial clock (SCL) control lines can be defined at run-time. Alternatively it is possible to pass references to functions which read and control the SDA and SCL lines, thereby allowing direct port manipulation to be used if preferred. Multiple objects (for multiple software I2C buses) and clock-stretching by slave devices are supported. A timeout feature is included to prevent lockups by faulty or missing hardware. The microcontroller must function as the master device, multiple masters are not supported. GNU LGPL v2.1.

Downloads

Filename Release Date File Size
SoftWire-2.0.10.zip 2024-06-02 21.81 KiB
SoftWire-2.0.9.zip 2022-06-22 21.29 KiB
SoftWire-2.0.8.zip 2022-04-09 21.27 KiB
SoftWire-2.0.7.zip 2021-09-20 20.47 KiB
SoftWire-2.0.6.zip 21.36 KiB
SoftWire-2.0.5.zip 2021-08-25 20.47 KiB
SoftWire-2.0.4.zip 2020-12-16 20.46 KiB
SoftWire-2.0.3.zip 2020-09-27 20.44 KiB
SoftWire-2.0.2.zip 2020-09-27 18.63 KiB
SoftWire-2.0.1.zip 2020-09-27 18.47 KiB