Code:
LCDOUT $FE,D,$14 'Display char and move cursor to next char
That line of code does NOT do what the comment says.
You're telling it to interpret whatever you read from EEPROM (into the D variable) as a command, then you're sending a constant $14 which it will interpret as data and print whatever character that code corresponds to (see datasheet).
To do what the comment says it would look like this:With that said, the adress counter in the HD44780 will automatically increment each time you write to DDRAM (ie send it a byte not preceded by $FE) so by doing the above you will end up with a blank space between the characters.
Bookmarks