Out of curiosity, has anyone used this to get two brains to communicate directly:
https://www.robotmesh.com/docs/vexiq-python/html/classvexiq_1_1_i2_c_device.html
Out of curiosity, has anyone used this to get two brains to communicate directly:
https://www.robotmesh.com/docs/vexiq-python/html/classvexiq_1_1_i2_c_device.html
No, not possible. The brain is the I2C master and can’t behave as an I2C slaves (like the sensors do).
But we have had 2 brains communicating (simplex - one way communication only) through TouchLED + ColorSensor (in passive mode). Thinking of it, I could do a half-duplex by using just one color sensor on each brain. For transmit (while having the “channel ownership” for the moment, thus half-duplex), you’d switch between active/passive modes, as that turns the light on/off. Receive is obvious.
Thank you!