View Single Post
  #5   Spotlight this post!  
Unread 23-02-2014, 13:48
Mike Bortfeldt Mike Bortfeldt is offline
Registered User
FRC #1126 (& 1511)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Rochester, NY
Posts: 119
Mike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud of
Re: receiving data from Arduino over i2c?

Doug,

That is the correct problem and I believe the "accepted" fix. The line removed is in the TW_SR_STOP case. There is no reason to call
Code:
twi_stop();
as the i2c hardware will hold the clock line low until the line
Code:
twi_releaseBus();
is called a few statements later.

Mike

BTW - let me know if it actually works.

Last edited by Mike Bortfeldt : 23-02-2014 at 14:00.
Reply With Quote