
mdeming1

I'm starting a new thread based on a suggestion by Robotdoc on another thread to use a breakout board from spark fun as a way to work around the challenge of needing two way communication between the v3 and the dimension engineering kangaroo but only having one way communication natively.
I did some research and bought this module for $16
http://sandboxelectronics.com/?product=sc16is750-i2cspi-to-uart-bridge-module
Do you think this will be a viable workaround?
Matt
So if two or 3 or 20 bytes came into the module, the only byte in the input buffer is the first byte. The rest get lost....
Since it's Arduino, I would recommend researching on how to use the UART Receive Interrupt. And therefore create an array variable which would be a buffer for incoming data. The interrupt would append incoming data to the array.
Then, in i2c - you would have a read register that returns how many bytes are available. And another read register to read each byte.
It's actually not complicated as it sounds... But the library would need to be rewritten for that piece of hardware. It's doable
Thanks again, I'll keep you posted.
Matt