Hi all.
I've built and programmed an 18X as an experiment, based on the PICAXE book("Programming and customizing the PICAXE microcontroller - David Lincoln), and once I sorted out the error in the program on pages 230 and 231("loop" used as a routine label, which the programmer quickly rejected with a: "loop without do" error - one of several errors or layout problems I have found in this book(what ever happened to revising a work before printing it...)), I have got the LCD showing the two programmed lines in the code - great.
Now, I am using a 4-row LCD(20x4), and although both lines are correctly aligned on the first two rows of the LCD, I was playing around with the code, and am trying to work out what byte I need to send to the LCD to make it shift to the 3rd and 4th lines.
Obviously, $80 is line1, and $C0 is line two, and this works, but what are the codes for lines 3 and 4?
The LCD manual that came with the module does not give this information, so I am hoping that someone can give me some hints that I can try out.
Cheers.
I've built and programmed an 18X as an experiment, based on the PICAXE book("Programming and customizing the PICAXE microcontroller - David Lincoln), and once I sorted out the error in the program on pages 230 and 231("loop" used as a routine label, which the programmer quickly rejected with a: "loop without do" error - one of several errors or layout problems I have found in this book(what ever happened to revising a work before printing it...)), I have got the LCD showing the two programmed lines in the code - great.
Now, I am using a 4-row LCD(20x4), and although both lines are correctly aligned on the first two rows of the LCD, I was playing around with the code, and am trying to work out what byte I need to send to the LCD to make it shift to the 3rd and 4th lines.
Obviously, $80 is line1, and $C0 is line two, and this works, but what are the codes for lines 3 and 4?
The LCD manual that came with the module does not give this information, so I am hoping that someone can give me some hints that I can try out.
Cheers.
Last edited: