If I am using the LiquidCrystal_I2C library and assigning pins as below.
LiquidCrystal_I2C lcd(0x27,2,1,0,4,5,6,7,3, POSITIVE);
Can I still use the digital pins 0-7 for other things even though I am only connecting A4 and A5?
If I am using the LiquidCrystal_I2C library and assigning pins as below.
LiquidCrystal_I2C lcd(0x27,2,1,0,4,5,6,7,3, POSITIVE);
Can I still use the digital pins 0-7 for other things even though I am only connecting A4 and A5?
Yes, of course you can. Only A4, A5 are used by the Uno.
Note that Uno's 0, 1 are Serial. You don't use them for anything else.
LiquidCrystal_I2C lcd(0x27,2,1,0,4,5,6,7,3, POSITIVE);
The 0 - 7 here are the pins on the adaptor chip, not your UNO, so you aer OK to use 2-7, as David has already said 0 & 1 are used for the Serial connection!
Thanks Guys, I should have realised that.
This topic was automatically closed after 91 days. New replies are no longer allowed.