View Single Post
  #8   Spotlight this post!  
Unread 04-02-2014, 09:09
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: I2C Arduino Port (Wii MotionPlus)

Kyle,

Glad to hear you are making progress. If you could post what you are (or are not seeing) when you try transactions > 4 bytes, perhaps I could help. The cRio should be able to communicate in up to 7 byte transactions (at least it was able to last year). One thing you could try is to call "setCompatibilityMode(true)" on the I2C object. This will probably not do anything as I read that it was set to TRUE by default this year (unlike last year), but it won't hurt to try. I also had some initial issues last year with Java and the bytes > 4 (wrong data), but that was specific to Java and should be corrected this year.

Mike
Reply With Quote