Hi, i just want some help for how to initialize the code for Multi-sensor network Using C-code..How can i connect two different sensor to communicate? I know how to configure SDL and SCL GPIO pins and I2C configuration. But should i need to configure each sensor for different GPIO pins and I2C configuration or just one configuration will work? Please anybody has any idea appreciate it....The sensors are Maxbotix MB1222 I2CXL-MaxSonar®-EZ2 .....
If you maybe startup by reading a bit about I2C, you should quickly pick up how you address I2C devices and how you use multiple sensors. That's really part of the basic knowledge when using I2C.
Note that the two sensors doesn't communicate with each other - your processor is the master.
this should help I2C Specification: www.nxp.com/.../UM10204.pdf
Erik