D
Dan Piponi
I'm doing some stuff with a 2x16 HD44780 display. Most things seem to
work fine. I can clear the screen, reset the cursor to the top left,
write characters, set the thing to scroll mode and so on.
But one thing always fails: set the cursor to the start of the second
row. This is supposed to be instruction 0xc0(=0x80+0x40 for 2nd row).
Instead it either does nothing or outputs a space. I don't think it's a
timing issue: my timing loops seem to work fine for other instructions.
Has anyone else seen this problem?
Is there some precondition I need to set before I can start setting the
cursor position - something I need to do during initialisation?
Thanks...
work fine. I can clear the screen, reset the cursor to the top left,
write characters, set the thing to scroll mode and so on.
But one thing always fails: set the cursor to the start of the second
row. This is supposed to be instruction 0xc0(=0x80+0x40 for 2nd row).
Instead it either does nothing or outputs a space. I don't think it's a
timing issue: my timing loops seem to work fine for other instructions.
Has anyone else seen this problem?
Is there some precondition I need to set before I can start setting the
cursor position - something I need to do during initialisation?
Thanks...