Main Content

Create Custom Animations on 16x2 LCD Displays

Easily display custom animated glyphs on 16x2 LCD using the createChar() function from the LiquidCrystal library.

The LiquidCrystal library makes it easy to use LCDs with Arduino. A particularly interesting function from that library is the createChar() function: you can create custom glyphs (characters), each described by an array of eight bytes, one for each row. The five least significant bits of each byte determine the pixels in that row. Writing bytes by hand to create art is not exactly an artist’s ideal process, so I have made a web tool in which you can draw the glyphs, and the code is generated for you.

In this article I will show how to create custom animations having only just an Arduino board and an LCD - which you can use to create a whole lot of projects: you can make a game, or a short story, or a music video, or decorate a status panel.”

Link to article