CFAH set cursor on second line

gaburto

New member
I have a CFAH2002A-YMI-JPV (20X2), I have init. the LCD and I could print to the first line. How do I force the cursor to the second line? If I write more than 20 characters I get garbage on the display. Does it have to do with the init? I have some sample code that writes to RAM address 0xC0 ??

I am new to this kind of programming. I presume I can write to a specific address and get to the second line. But I am sure it is not address is 0xC0 ? I have also tried 0x40 (from Display Position DDRAM) with no luck

Any help would be great
Thanks George
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
 
Top