Shortcut Creator icon Shortcut Creator — Shortcut Creator relocated to the ARC Options menu; new manual page provides updated Shortcut Creator documentation. Try it →

ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

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.