Wire Library Timer Usage I would like to know if the Wire Library is using a Hardware Timer from the Arduino Mega 2560. And If so which Timer it is.
As I am using the Timer 1. After implementing the Wire Library I have some strange things happening that are probably due to the Timer.
Thanks a lot.
No, it's not.
It has its own timer called the &quot;Bit Rate Generator Unit&quot; which is controlled using the TWBR register.  It takes its time source direct from the main CPU clock and divides it down.