Sometimes when building a project you simply are short of microcontroller pins and you don’t want to waste them to control LCD. As you may know most common LCDs have parallel control interface where at least 6 – 7 pins are needed. There is a solution that requires minimal investments. Using shift register you can control LCD with as little as two pins.
Of course you will need modify existing LCD control libraries that deal with data and command transfer. Circuitvaley gives a great intuition on how this trick works and suggest an adapter board for LCD that transforms parallel to serial interface.