mikaelpatel / Arduino-TWI

Two-Wire Interface (TWI) library for Arduino

Home Page:https://mikaelpatel.github.io/Arduino-TWI/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arduino-TWI

The TWI library is an abstract interface for I2C device drivers. The library includes a hardware and software bus manager, and example device drivers for I2C Humidity and Temperature Sensor (Si70XX), Remote 8-bit I/O expander (PCF8574/PCF8574A), Digital Pressure Sensor (BMP085), and Single/Multi-Channel 1-Wire Master (DS2482).

The software bus manager implementation of the TWI interface uses the Arduino-GPIO library. Both software and avr hardware bus manager implementations supports repeated start condition and device driver mutex on multi-tasking.

Repeated start condition allows combined write/read operations to one or more devices without releasing the bus and thus with the guarantee that the operation is not interrupted (when using multiple masters).

Device driver mutex allows a task to complete a device driver function in a synchronized manner when using the Arduino-Scheduler.

Version: 1.9

Classes

Example Sketches

Dependencies

About

Two-Wire Interface (TWI) library for Arduino

https://mikaelpatel.github.io/Arduino-TWI/


Languages

Language:C++ 98.6%Language:C 1.4%