SoftWire

Software I2C library.

Author
Steve Marple
Website
https://github.com/stevemarple/SoftWire
Category
Communication
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-1.0.4.zip 2017-08-30 15.09 KiB
SoftWire-1.0.3.zip 2016-01-07 15.03 KiB
SoftWire-1.0.2.zip 2015-10-07 15.03 KiB
SoftWire-1.0.1.zip 2015-10-07 15.01 KiB
SoftWire-1.0.0.zip 2015-10-07 15.02 KiB