Hi every one I need help
I am using 89c51 microcontroller and I connect an LCD 2 lines, 5*7 matrix with the MC but the problem is I can write only on the first line but I can't write on the second line.
I am using the code (Mov A, C0) but the assembler keeps saying that this command is valid!!!
So can anyone help me PLZ PLZ
Hi every one I need help
I am using 89c51 microcontroller and I connect an LCD 2 lines, 5*7 matrix with the MC but the problem is I can write only on the first line but I can't write on the second line.
I am using the code (Mov A, C0) but the assembler keeps saying that this command is valid!!!
So can anyone help me PLZ PLZ
Oh, sorry, I thought you are Czech . Your name sounds like you speak Czech or Slovak...
So how are you sending Data to the 2nd Line of the LCD? Dont forget that 2nd line starts at address 40H. If you are just sending data to the 1st line don't expect that after you have reached the end of 1st line, it will automaticaly start at 2nd line. Also keep in mind that LCDs have to be initialized prior to use...
i am sending the data to the second line by writing C0 command ,
i've changed the code from C0 to 40 H as you told me joseph , it works with the assembler but i still don't know is this will work or not?!
i need a program to simulate the lcd :?
if you know a program to simulate the assembly code that would be gr8,
thanks jay slovak, thanks joseph