Shop OBEX P1 Docs P2 Docs Learn Events
Prototype comments needed — Parallax Forums

Prototype comments needed

Erik FriesenErik Friesen Posts: 1,071
edited 2007-12-26 02:40 in Propeller 1
Does anyone have any improvements or changes they would recommend to this prototype? Any glaring no nos?
810 x 600 - 157K

Comments

  • deSilvadeSilva Posts: 2,967
    edited 2007-12-25 21:20
    Why do you want to be able to operate the LCD in 8-bit mode? Reports of problems (nibble desync) can generally be traced back to bad initialisation code, or to very undefensive programming..
  • Erik FriesenErik Friesen Posts: 1,071
    edited 2007-12-25 22:23
    I am using the lcds that use the ks0108 chip partly for cost reasons. Refer to ks0108 object in the object exchange for the program. Define undefensive programming. I have only one initialization on my program so if the screen would somehow reset it will not come back to life without a restart. I am updating this screen about 100 times a second(my guestimate) from memory and I don't think a serial connection could do this. What is nibble desync?
  • deSilvadeSilva Posts: 2,967
    edited 2007-12-26 02:40
    I see, a ks0108 - I were under the impression you planned a HD44780, the pin-out is quit siilar.

    In 4-bit ("nibble") mode of the HD44780 (and compatibles) you send a byte split. It can happen that one of that transmissions gets disturbed and from that time on the display will receive the wrong order of packages.

    The fix is to "initialze" it every second or so.
    The advantage is you save 4 lines.
Sign In or Register to comment.