All character based LCD has CGRAM area to create user defined patterns. For making custom patterns we need to write values to the CGRAM area defining which pixel to glow. These values are to be written in the CGRAM address starting from 0X40. If you are wondering why it starts from 0X40? Then the answer…