Im trying to use two colour sensors in the same port. I bought a port splitter (Split-NX) from active-robotics (http://www.active-robots.com/products/m ... t-nx.shtml
It says that to split a port:
"In your program, accessing the sensor is based on it's I2C address, (each sensor must have unique I2C address). Attach the port splitter to NXT on any port (say port 1).
In your program, use the respective sensor's icon (or API as the case may be), and for the parameters, use the port of the port splitter (port 1 in above example) and I2C address of the attached sensor from which you wish to take a reading."
I have no idea how to change the I2C address of a port and even if I can work out how to do that, how do I then define 2 different colour sensors off 1 port using robotC.