arduino/Arduino — pull request #1842 by DanNixon (2014-02-02 12:41:15+00:00)
Title: TWI timeout

Adds an iteration limit to the while loops in various ```twi_``` functions and resets TWI bus if limit is reached.
Stops entire microcontroller form hanging if for whatever reason the TWI bus fails.