Multiple objects (for multiple software I2C buses) and clock-stretching by slave devices are supported. 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. The pins to be used for the serial data (SDA) and serial clock (SCL) control lines can be defined at run-time. It utilises the pinMode(), digitalWrite() and digitalRead() functions. SoftWire is a software I2C implementation for Arduino and other Wiring-type environments. Author Steve Marple Website Category Communication License LGPL 2.1 Library Type Contributed Architectures Any
0 Comments
Leave a Reply. |