View Full Version : TWBR-using Arduino libraries (please add to this list)

03-15-2013, 12:45 AM
I'm trying to find any & all Arduino libraries known to access the AVR TWBR register. So far, only 3 libraries are on the list:

FreeIMU (prior to Teensy 3.0 patch)

If you know of any other Arduino library that manipulates TWBR (but otherwise uses the Wire library for I2C), please reply with the name and hopefully a link to the code.

I'm considering adding emulation for TWBR to an upcoming Teensyduino release. See this message (http://forum.pjrc.com/threads/21512-Teensyduino-1-13-Released?p=27601&viewfull=1#post27601) for details.

03-15-2013, 01:41 AM
Grepping through libraries on my machine reveals:

/DSS_I2C/I2C.cpp (http://dsscircuits.com/articles/arduino-i2c-master-library.html)
/I2Cdev/I2Cdev.cpp (http://www.i2cdevlib.com/)
/I2cMaster/I2cMaster.cpp (https://github.com/DSSCircuits/I2C-Master-Library)
/Snootlab_Deuligne_LCD_2x16/Deuligne.cpp (https://github.com/Snootlab/Deuligne)