Has anyone had a problem with PIC18 that the 2 line display wouldn't work?
Tags:
Oh I'm using a different sample code - the one in the textbook
Doesn't matter what you use. Wherever your code is that delays the PIC by a bit before clocking the LCD or sending signals, add a nop.
That did the trick for me last year and was a common problem. I suspect that it's a timing issue caused by the DevBugger's ridiculous amount of intermediate buffers and chips. (When you use a simpler board, it works!)
a I added a nop at the beginning of a delay subroutine - it still doesn't work T.T
yes, and this is a delay subroutine for the LCD?
you changed all your gotos from $-1 to $-2? (the compiler should complain before this though)
© 2024 Created by PML. Powered by