Hi.
Please tell me how many 20X04 with serial interface works in parallel on arduino mega 2560?
I'm very confuse from this line code:
LiquidCrystal_I2C lcd(0x27 20,4); //set the LCD address to 0x27
All lcd from this model has an internal address 0X27 or i can use some like this:
LiquidCrystal_I2C lcd1(0x27 20,4);
LiquidCrystal_I2C lcd2(0x28 20,4);
LiquidCrystal_I2C lcd3(0x29 20,4);
LiquidCrystal_I2C lcd4(0x30 20,4);
If the answer is yes how it works , how i know with lcd is for 0X27 , witch for 0X28....
Please tell me how many 20X04 with serial interface works in parallel on arduino mega 2560?
I'm very confuse from this line code:
LiquidCrystal_I2C lcd(0x27 20,4); //set the LCD address to 0x27
In order to answer your question we would have to know more about the specific I2C interface chip and its implementation by the designer of the PC board on which the chip is mounted.
In order to do this we would need a link to the post.
Go to the post in question and right click on the icon that looks like two sheets of paper, just to the left of the 'subject'. Select 'Copy Link Location' (or something similar) and then paste that information into your reply.
The way that particular board is set up there is no way to change the I2C address so you are stuck with the one that they have configured, 0x27.
I can't tell what chip is being used but some I2C interface chips have one or more 'address' pins making it possible to select two or more addresses. If that chip is one of them then it is conceivable that you could rework some of the traces on the PC board and change the address. This is not a trivial operation but it is not impossible either.