Image may be NSFW. Clik here to view. ![]() |
Scrolling text animation in 16x2 LCD |
LCD's are widely used where user interaction with the system is necessary and you might have come across static message display using LCD. The message displayed on the LCD can also be animated like blinking, scrolling etc. This article explains how to display a running or scrolling text in a 16 x 2 LCD display with a 8051 Microcontroller.
16 x 2 LCD:
Image may be NSFW. Clik here to view. ![]() |
16x2 LCD Display |
In a 16 x 2 LCD a message is displayed by means of configuring it through commands initially and then send the data to be displayed on it. A two registers namely Command and Data register are used to serve this purpose in a LCD. Read more about Displaying static message in a LCD screen to acquire full knowledge about it.
It only take few extra steps to make text scrolling in a LCD screen. There are two specific commands which we use for the purpose of text scrolling. They are
0x18 - Shift Entire Display Left
0x1C- Shift Entire Display Right
Using these commands we have to shift our message either left or right continuously by means of placing it in a infinite loop. Doing this we can achieve the scrolling effect of Message in LCD from right to left or vice versa.
CODE:
|
Like this article? Share this with others through social networks and dont forget to follow us there. Post your comments and queries below. Thank you for visiting and Enjoy Coding.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.Clik here to view.

Clik here to view.

Clik here to view.

Clik here to view.

Clik here to view.

Clik here to view.