PDA

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



PaulStoffregen
03-14-2013, 11:45 PM
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:


Adafruit_SSD1306
Adafruit_MCP4725
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.

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

/Wire/utility/twi.c
/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)
/Adafruit_MCP4725/Adafruit_MCP4725.cpp
/Snootlab_Deuligne_LCD_2x16/Deuligne.cpp (https://github.com/Snootlab/Deuligne)