Shop OBEX P1 Docs P2 Docs Learn Events
hitachi parallel controller — Parallax Forums

hitachi parallel controller

bobroanbobroan Posts: 37
edited 2006-01-25 21:40 in General Discussion
I can't always get my parallel LCD to reset properly.· It works fine if I remove power and then start the process outlined in the sample code for the 2sx.· But sometimes during my program, the screen goes to garbage (perhaps due to some sort of power fluctuation?) and I'd like to have something for my user (like "press this button to reset the display").· But when I try to run the initialization routine without removing and then restoring power to the hitachi, it doesn't work the same.

I am using the 4 bit operation and it appears that when the hitachi boots up it goes into 8 bit operation and that's the mode in which some of the first initialization code operates.· Could this be the problem?

thanks

bob

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-01-25 21:40
    Bob,

    ·· The Hitachi Datasheet on our website should have the initialization routine for resetting the display from 4-bit mode.· It's basically sending the same command three times in a row at a fixed interval.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
Sign In or Register to comment.