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,
- Display characters
- Display a string
- Display characters from the serial port
Download this set from below or browse the code on GitHub.