Awhile back I purchased 2 "Amerlight TM LCD Module for Arduino 20 x 4, White on Blue, based on the popular HD44780 controller" from Amazon. I've used them a few times but never put a project into use. I remember last time I tried I had some difficulty, but once I found a library I was good to go. Recently I used what I found at http://embedjournal.com/programming-lcd-in-8-bit-mode/ I did have to remove the 'rom' keyword from one definition, but after changing the relevant bits for my PIC18F25k80 I was up and running -- sort of. I had off text. It was like the last two bits were stuck high. I tested the micro-controller, used a different one, same issue. While tinkering at some point it stopped getting past the initialization stage, and just shows #'s across the first and third line. I tried many more things, tried the second screen I had, no change. While trying to figure out what might be going on I ended up doing some testing and changing code, etc. I even manually went through a reset procedure, did a debug and also stepped through the code bit by bit to ensure everything was behaving as expected. On both LCD's the RS and RW pins read high. From my reading you can't judge the pins without power to E, so I tried holding E high, same issue RS and RW are high from the LCD. Are both my screens broke, or am I missing something else here? I find it odd that I've killed both screens in the same way. I've double checked all jumper wires on my breadboard.
I'm really perplexed by this one, and I haven't even gotten into the bulk of the project yet. Any help or tips would be greatly appreciated.
I'm really perplexed by this one, and I haven't even gotten into the bulk of the project yet. Any help or tips would be greatly appreciated.