A software I2C interface which is a drop-in replacement for the regular mbed I2C interface in case you run out of I2C ports

This is a first version. Doesn't mean more versions will come, mainly means it may be a bit buggy. If it does not work for you: first try exactly the same code with the regular hardware I2C. If that does work, well then I made an error somewhere :D. You can send me a message if you can't figure it out, although without your hardware it generally is hard for me to reproduce.

While basic I2C should work, advanced things like clock stretching and multi-master I2C busses are not supported.

If you find an error and solve it: Send a pull request and I generally will accept it :).

Download repository: zip gz

Files at revision 1:05473196d133

Name Size Actions
[up]
SoftI2C.cpp 3460 Revisions Annotate
SoftI2C.h 2826 Revisions Annotate