Hi,
I want to make a port scanner for I2C devices. This scanner needs to detect all I2C addresses in use on any of the NXT sensor ports. I do not want this scanner to read from a register address as not all I2C devices use registers and even if they do one cannot be sure about the registers in use. I do not know yet how to build this scanner, so I'm asking for advice here.
I am aware of the sample program I2CDevices. But this sample reads one of the registers to detect a sensor. Also, this program stops scanning a port after having found the first device on a port.
