0% found this document useful (0 votes)
5 views1 page

LCD Scrolling Message Code Example

The document contains a code snippet for scrolling a message on an LCD using the LiquidCrystal library. It initializes the LCD, displays 'hello world', and then scrolls the message left and right in a loop. The code is designed to create a visual effect on a 16x2 character LCD display.

Uploaded by

Rahul Makwana
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

LCD Scrolling Message Code Example

The document contains a code snippet for scrolling a message on an LCD using the LiquidCrystal library. It initializes the LCD, displays 'hello world', and then scrolls the message left and right in a loop. The code is designed to create a visual effect on a 16x2 character LCD display.

Uploaded by

Rahul Makwana
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

/*

SCROLLING MESSAGE ON LCD


18 SEP 2025
URVASHIBA GOHIL
RAHUL MAKWANA
*/

#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
int p;
void setup()
{
[Link](16,2);
[Link]("hello world");
delay(1000);
}
void loop()
{
for (int p=0; p<13; p++)
{
[Link]();
delay(500);
}
for(int p=0; p<29; p++)
{
[Link]();
delay(500);
}
for(int p=0; p<16; p++)
{
[Link]();
delay(500);
}
}

You might also like