NHD-0420DZ-FL-YBW Cursor On-Off problem

Comments

2 comments

  • Saurabh_B

    Is it possible to post a sample of your code that writes the functions?

    It seems that the command its receiving is the clear display command.
    Command 0x0C should not affect the memory or address at all.

    0
  • vernhardingham

    Actually I have resolved this problem myself. I am using one port to output the 4 bit data and chip enable, when I set the data value I was inadvertently setting the chip enable low at the same time. Depending on timing conditions correct or unpredictable results occurred. I have modified my code to OR a 1 onto the chip enable line when I set the data so that it stays high until ready to clock the data in. No more unpredictable results.

    0

Please sign in to leave a comment.