This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LCD not working

I found two routines from different books to start working with an LCD. The first one (at LCD.asm) works on the board but not physically. The second one (at LCD3.asm) works nowhere but is supposed to. Can anyone help me fix the routines I've got or give me one in assembly language that actually works?

1-Vss (GND)
2-Vdd (5V)
3-Vss (GND)
4-RB6
5-Vss (GND)
6-RB5
7 to 14 - RB0 to RB7

At this moment I'm only testing the LCD to view anything on it. After that, I'm planning to display on it the value from an LM35. I can only upload the file I'm currently using due to an error caused by a lack in the model of the final application. Nevertheless, I can also upload the file I wrote to display the whole thing. Let me know if you can see the attachments. I might include some of them on my first post.

  • <attach>\\my computer\c:\my files\my projects\my code\my source\my sub folder\my display\lcd.asm<endattach>

  • Party trick?

    Since you most definitely didn't attach any file (as you probably saw in the preview), I have to wonder if that was an official invitation to hack your computer for the specified file...

  • Well, there appears to be a few things missing namely:
    What is the list you have there? Is it "pins on an LCD somewhere in the world?", or the specific LCD? What does your listing mean? (IE specifically what each # is etc RBx doesn't seem to elicit any clue to me).
    Second what processor type? C51 C251 ARM 68000 XA Infineon? What specific processor?
    How are you interfacing into the LCD? What port, what pins ... is it memory mapped or something else?

    Stephen