NHD-0420CW-AG3 Serial Mode

Comments

7 comments

  • Guest

    We don't have any source code for the SAM3-256 development board, but we do have some example code for this display using the Arduino Mega.  The example shows how to write to the display using parallel or serial interface.  Please refer to this:-

    https://github.com/NewhavenDisplay/NHD_US2066-Arduino-Mega/blob/master/NHD_US2066.cpp

    0
  • Khnum

    For the serial delay constant I would just want that to be the speced clock time correct?

    0
  • Guest

    Yes that is correct, but it is usually good practice to use slightly longer delays to make sure the command has been executed before you send the next instruction.

    0
  • Khnum

    The sample code did help in my understanding of the serial operation and I've been able to convert the Arduino pseudo-C into a full C for ARM, but to the same result of no reaction from the display. Not sure quite how to troubleshoot the display.

    0
  • Khnum

    Good news, I have the display printing now. The data appears to be writing on top of itself and producing giberish but it is writing

    0
  • Khnum

    Got it working. The LCD was just configured to write one character to two slots so it was getting confused. Thanks for the help!

    0
  • Guest

    No problem.  Glad you got the display working :)

    0

Please sign in to leave a comment.