DFR0154 I2C/TWI LCD2004 module -- change SDA and SCL assignments

userHead Account cancelled 2021-05-14 06:17:10 455 Views0 Replies
I am using an Arduino Uno R3 and need all six analog pins to monitor servo movements. Therefore using A4 for SDA and A5 for SCL for the LCD display is troublesome.

I have tried to use I2C software alternatives (SoftwareIC3 and SoftwareWire), but it does not seem that LiquidCrystal_I2C library honors the SDA/SCL reassignments since it persists in using A4 and A5.

How can I change SDA to D3 and SCL to D2 in my code, or do I have to modify the LCD library? If so, how?

Rev Rick