LCD Interfacing-ARM LPC2148 Embedded C

LCD Interfacing-ARM LPC2148 
Introduction:



This Code is specially developed for LCD on ALS ARM LPC2148 Evaluation Board.
A 16*2 Alphanumeric display with backlight is provided on Evaluation Board.
  • Mode of Operation:- LCD is interfaced using 4 bit Mode.
  • Port Details:   P0.2 to P0.7  are used for LCD interfacing.
RS = 0 for sending Command to the LCD, controlled by port P0.2
RS = 1 for sending Data to the LCD, controlled by port P0.2
EN = 0 for disabling the LCD ,controlled by port P0.3
EN = 1 for enabling the LCD, controlled by port P0.3
D4 to D7 (P0.4 to P0.7) – data lines

Program:

Download the Code with HEX File:
 To Download the Code click on the link below:

 LCD Program Download

One thought on “LCD Interfacing-ARM LPC2148 Embedded C

  • October 2, 2017 at 1:21 pm
    Permalink

    Change the value of data1 string variable to your desired string to make that display on first line.And that of data2 to display in second line

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Advertisment ad adsense adlogger