Hi,
I am working with hd44780 with a freescale UC s08(clock frequency 8MHz) family. The output on the LCD disappears after a second or so even when in the infinite loop and when the cursor is also set to the left top.
Help
Avdit
p.s. i have included my while loop
I am working with hd44780 with a freescale UC s08(clock frequency 8MHz) family. The output on the LCD disappears after a second or so even when in the infinite loop and when the cursor is also set to the left top.
Help
Avdit
p.s. i have included my while loop
Rich (BB code):
while(1)
{
TOGG=1;
delay(100);
TOGG=0;
delay(100);
s_data();
datawrite('J');
datawrite('e');
datawrite('q');
datawrite(' ');
datawrite('D');
datawrite('A');
datawrite('T');
datawrite('A');
datawrite(' ');
TOGG=0;
datawrite('L');
datawrite('O');
datawrite('G');
datawrite('G');
datawrite('E');
datawrite('R');
delay(6000);
s_inst();
commandwrite(0x02); // goes back to top left
/*for(k=0;k<9;k++)
{
s_data();
DATA = x[k]; // It will send x[0] as ASCII to the port
s_latch();
}*/
}
Last edited by a moderator: