|
Re: I2C Arduino Port (Wii MotionPlus)
Quote:
Originally Posted by Mike Bortfeldt
Kyle,
I'll take a shot at this. My experience is with I2C in Java and an Arduino, but most of that should apply here. First, if you are using an address of 0x52 on an Arduino to communicate with the Wii MotionPlus, then you will most likely need to use an address of 0xA4 on the cRio. Your code doesn't show how you are setting up the I2C object. For the "receiveing data" portion, you should be able to use the following code to just receive data.
|
Thanks for the quick response can you explain why the change in address is needed when switching from the Arduino to the cRio? We did notice it was on a different address but don't understand why.
Thanks
Kyle
__________________
"May the coms be with you"
Is this a "programming error" or a "programmer error"?
|