© Hubert Henry Ward 2020
H. H. WardC Programming for the PIC Microcontrollerhttps://doi.org/10.1007/978-1-4842-5525-4_6

6. Using the LCD

Hubert Henry Ward1  
(1)
Lancashire, UK
 

This chapter shows you how to set up the liquid crystal display (LCD) to show text and numbers on it. You’ll then create your own characters to be displayed on the LCD. The chapter concludes by reviewing how to use arrays and pointers. At that point, the LCD should display 2 lines of 16 characters. But let’s first review how most LCDs work and how the programmer can control them and so use them.

The LCD Controller

This description will be based around the LM016L LCD.

Most LCDs use either the Samsung KS0066U or Hitachi HD44780 driver which converts your binary digits into the required ...

Get C Programming for the PIC Microcontroller: Demystify Coding with Embedded Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.