PDA

View Full Version : i2c communication library



Chimera
12-03-2012, 07:14 PM
Greetings,

first I would just like to say that I am very impressed with the Teensy project. I have Teensy 3.0 and I really like its size and the ability to use Arduino programming environment. Keep it up!

My question:

I have been using Arduino Uno to communicate with the slave device through i2c protocol using Mr. Fleury's i2c master library
http://homepage.hispeed.ch/peterfleury/avr-software.html.

This library is in my opinion more practical than the Wire library when addressing the slave device, especially when communicating with devices that need repeated starts (although I have seen that the arduino 1.0.1 also supports this).

Nevertheless, I would like to know if it is possible to use Mr. Fleury's library with Teensy 3.0? What are the alternatives? I am extremly new at uC programming, so go easy on me. :)

Thank you and best regards,
K