This is yet another tutorial covering the LCD 1602, but this time we will see how to use custom characters with this display.
16×2
Interface LCD 16×2 via I2C with STM32
To change the address we are provided with A0, A1 and A2 pins.
By default these three pins are high so the address by default is 01001110 which is 0x4E. To change the address of this device, you have to connect any/all of these three pins to ground, which is provided just above them. So let’s say you connected A0 to ground, new address will be 01001100 which is 0x4B. In this manner, we can connect upto 8 LCDs to the same line.