Shop OBEX P1 Docs P2 Docs Learn Events
LCD question — Parallax Forums

LCD question

basicstampedebasicstampede Posts: 214
edited 2008-10-27 16:01 in BASIC Stamp
Precisely,·at which transition of PULSOUT E, 1·does the data blip into the Hitachi LCD?
Falling edge or Rising edge of E?

I cut & paste code from Stampworks:

LCD_Command:
· LOW RS
LCD_Write:
· LCDbus = char.HIGHNIB
· PULSOUT E, 1
· LCDbus = char.LOWNIB
· PULSOUT E, 1
· HIGH RS
· RETURN

Comments

  • $WMc%$WMc% Posts: 1,884
    edited 2008-10-25 01:29
    basicstampede

    I looked @ the spec. sheets and its about as clear as mud on Rising or Falling edge's. Does your LCD work (display char. etc.) ???


    ________________________%WMc$__________
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-10-27 16:01
    If memory serves I believe the data is latched on the rising edge for ENABLE and processed after the falling edge, which is when the busy flag should be able to be read.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
Sign In or Register to comment.