Problems with Microcontroller Projects? You may face many Problems, but do not worry we are ready to solve your Problems. All you need to do is just leave your Comments. We will assure you that you will find a solution to your project along with future tips. On Request we will Mail you the Codes for Registered Members of this site only, at free service...Follow Me.

Microcontroller Scrolling LCD Display in CCS C




Most popular 2 x 16 LCD Display HD44780 chipset have a display memory up to 40 charactors.
]
Only 16 can display on a line. See the program for display the screen to the left or right shift operation .


#include <16f877.h>
#fuses XT,NOWDT,PUT,NOPROTECT,BROWNOUT,NOLVP
#use delay(clock=4000000)
#include "lcd.c"

void forword_dir(void)
{
lcd_send_byte(0, 0X18);
}

void backword_dir(void)
{
lcd_send_byte(0, 0X1E);
}
void main() {
int a,i;

lcd_init(); //lcd initialize
lcd_putc("\f"); //lcd clear
// lcd memory can hold up to 40 characters
lcd_putc(" http:// shibuvarkala . blogspot . com");

for(;;){
for(i = 0; i <>
{
backword_dir();
delay_ms(50); // scroll delay
}

for(i = 0; i <>
{
forword_dir();
delay_ms(50);
}
}
}

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Recent Comments

Popular Projects

Give Support

Give Support
Encourage Me through Comments

Microcontroller Projects

Total Pageviews