Free help & advice Talk to us

  • Free shipping over A$55

    Within Australia

  • Free help & advice

    We reply within 24 hours

  • 30-day returns

    12-month warranty on faults

  • Ships next business day

    When the item is in stock

LCD 1602 2004 Custom Character

LCD 1602 2004 Custom Character

Lonely Binary |

The Integrated Circuit (IC) within the Liquid Crystal Display (LCD) contains both the Character Generator ROM (CGROM) and Character Generator RAM (CGRAM).

In the CGROM, predefined character patterns exist, each with a fixed address. These addresses facilitate easy access to these characters, essentially encompassing all the ASCII characters used in the LCD.

Conversely, the CGRAM allows users to save custom character patterns. It provides the capability to store up to 8 patterns of 5×8 dots each. These saved patterns can be accessed later by referencing the corresponding character's address.

Today, I'll demonstrate how to create a custom character in the CGRAM and display it on an LCD 1602.

You may need manually convert the value to uint8_it for lcd.write method.

change from

lcd.write(0);

to

lcd.write(byte(0)); 

Leave a comment

Please note: comments must be approved before they are published.