Ik heb een 4x20 lcd, HD44780 compatible.
Met een basicstamp en in assembler doet hij het goed.
In picbasic met een pic16F628 gaat hij na het 12e char ook op de tweede regel verder.
Weet iemand een oplossing?

Hmmm, ik weet zo niet, maar dit probleem heb ik hier eerder gelezen.
Probeer eens de zoekmachine.

Heb je het display wel op 4-line ingesteld?
Zet in je programma DECLARE LCD_LINES = 4
Ben er niet zeker van of dat het probleem oplost.

mischien kan je hier iets mee:
DECLARE LCD_INTERFACE 4 or 8
Inform the compiler as to whether a 4-line or 8-line interface is required by the LCD.

If the Declare is not used in the program, then the default interface is a 4-line type.

DECLARE LCD_LINES 1 , 2 , or 4
Inform the compiler as to how many lines the LCD has.

LCD's come in a range of sizes, the most popular being the 2 line by 16 character types. However, there are 4-line types as well. Simply place the number of lines that the particular LCD has, into the declare.

If the Declare is not used in the program, then the default number of lines is 2.

hoeveel data lijnen gebruik je?

@gerardpt: welke controller zit er precies op de LCD-module?
Net als Frits heb ik het gevoel dat dit al eerder ter sprake is gekomen door iemand (free_electron?) die te maken kreeg met LCD-modules die over extra-functionaliteit beschikten, maar daardoor niet helemaal HD44780-compatiebel waren.