Microcontroller › PIC › Stop lcd from blinking the words written to it › Hi Kite,The LCD is blinking
June 17, 2013 at 11:27 am
#9975
Participant
Hi Kite,
The LCD is blinking because your controller resets continuously. To prevent the controller from reset you have to apply an infinite loop like
while ( 1 )
{
;
}
I hope modifying your main function like the following will solve the issue
void main(void)
{
OSCCON = 0b11110010;
TRISD=0;
TRISB=0;
EN=0;
lcdinit();
prints(‘HI’);
while ( 1 )
{
;
}
}