Page 1 of 1
Question Regarding I2C Address
Posted: Mon Apr 12, 2004 6:40 pm
by Bill_Sev
If the display is preset to 50h. Is it necessary to set the I2C address thru the microcontroller or can I select it as follows?
MainSend:
mov A,#LCDW ; set slave address (8
Posted: Tue Apr 13, 2004 10:20 am
by Miles
Hello...
The display's I2C default address is 50h, however this can be changed up to 16 or 127 different addresses, depending upon the unit you have. The only way a "slave" device will accept communication is if it's accessed by it's identity, the address.
Posted: Tue Apr 13, 2004 11:25 am
by Bill_Sev
Miles I understand that......
I was wondering if it had to be accessed via 0FEh 50H or can I just use 50h alone when selecting the slave?
Posted: Tue Apr 13, 2004 11:43 am
by Miles
You can define the address by simply using 0x50.