Sabertooth Kangaroo icon Sabertooth Kangaroo — Movement panel enabling Kangaroo & Sabertooth encoder-based speed/velocity control, UART/PC serial options, tuning and encoder setup. Try it →

ARC Pro

Upgrade to ARC Pro

Unlock the true power of automation and robotics by becoming a proud subscriber of Synthiam ARC Pro.

Author Avatar
PRO
USA
#2  

I read over that post multiple times. I understand how to manipulate a single BlinkM, I don't understand how to talk to a second one connected on the same EZB.

Is it even possible to run two BlinkM from one EZB.

Appreciate any and all help.

#3  

The two BlinkM's would need separate addresses. If they have the same address then it wouldn't work out from the same EZ-B.


I2CWrite( boardIndex, deviceAddress, data, .... )
Send a series of ASCII data to the specified device hex address over the i2c interface.
This command will Start i2c, Write Data, and Stop i2c.
boardIndex is the EZ-B you wish to use (0 is first EZ-B)
Device Hex Address of i2c device must be in 0x00 format.
Data can be Hex (0x09), string ("string"), or decimal (188)
Example: I2CWrite(0, 0x09, 0x02, 0x05, 0x06)
Example: I2CWrite(0, 0x09, 244)
Example: I2CWrite(0, 0x09, "This is text " + $variable)

You need to figure out how to change the address on one of the two BlinkM's and then reference that BlinkM in using the second parameter of the command. I don't have a BlinkM but will see if I can figure out if it is possible to change the address.