Categories: Sample Code

LCD interfacing

A 16×2 character LCD can display 16 characters and have two lines, a total of 32 characters can be displayed at a time. LCD is controlled by display controller which determines its features. Most common display controller is Hitachi HD44780.

To know more about pin layout, read this article.

Download sample codes

There are three sample codes,

  1. Display characters
  2. Display a string
  3. Display characters from the serial port

Download this set from below or browse the code on GitHub.

Share