The Bus Address allows you to communicate with a specific device. You can connect to the I2C interface multiple devices, then you need to send specific information just to one device, having all the devices different addresses allows you to not send information to the other devices just to the one you want to interact. So when the same signal is received by all the devices, just the correct one will send the ACK signal and will work according to the data received.
Take a look 7-BIT ADDRESSING [Section 9 - Page 11]
Let me know if this answers your questions.
I "read" (more like scanned) that link you provided. I've read other material similar to it as well. With respect to the Edison and the UPM library I'm still confused. For example, If I look at this LCD RGB example (upm/rgb-lcd.js at master · intel-iot-devkit/upm · GitHub), I see a bus address and 2 device addresses.
I'm assuming, maybe incorrectly, that the UPM library and Edison is communicating to the RGB device and LCD device using their device addresses. So I was wondering then what is the bus address used for?
Also, why is it 0 in the example? And in a different forum post it said that it is incorrectly 0 and it should be 6. What dictates the correct value of the bus address? Why is 6 correct and not 0? Is there something internal to the UPM library? And then lastly, is there a relation between the value of the bus address of one device and the value of another device when both devices are connected to the same Grove base shield?
About the line [var myLcd = new LCD.Jhd1313m1 (0, 0x3E, 0x62);] in upm/rgb-lcd.js at master · intel-iot-devkit/upm · GitHub the 0x3E is the LCD Address, 0x62 is the RGB Address and 0 is the bus you are going to use. Take a look at upm: Jhd1313m1 Class Reference
The “bus address” you are talking about is the bus for I2C that you are going to use, by default is 0.
In the thread you posted Fix & Sample for LCD on Edison, initially there is an error with bus 6, the correct one should be 0. If you use the latest libmraa there shouldn’t be problems with this and if you use 6 or 0 with MRAA you should get the same outcome.
Take a look at the Hardware Guide for the Edison Compute Module you will see in there the specifications for the I2C interface
Regarding your last question, if you are talking about the bus 0 or 6, you can use the bus 0 because you are using only one interface from the Edison, the devices in the Groove Base Shield are connected to the same interface. The only relation between the devices is that they will be connected to the same interface and all of them are seeing the same SDA and SCL signals.