NHD-2066 non Arduino sample code

Comments

3 comments

  • Cody J.
    NHD Staff

    Hello Wmotter,

    We will investigate the non-Arduino example code you mentioned.

    The Arduino code you are referencing does work with SPI, it bit-bangs the SPI protocol. 

    When global variable mode is set to 2, the command() and data() functions send the appropriate data in case 2.

    The following GitHub repositories are good references as well:

    If you have any questions, don't hesitate to ask.

    Best Regards,

    Cody J.

     

    0
  • wmotter

    The non Aquino code has 6 commands in the init.  The Aquino code has around 30. What is the correct set to turn on the display and  write something very basic so we can see that the display is on and showing something?  Once we get to that milestone, I think things should be relatively down hill from there.  

    Thanks again.

     

    0
  • Cody J.
    NHD Staff

    Hello Wmotter,

    I recommend using the initialization sequence seen in the Arduino code and make sure it matches the initialization code seen in the associated spec sheet of the exact display you are using. Afterwards, all you need to do is send ASCII character data to the display.

    Which display are you trying to get up and running?

    Best Regards,

    Cody J.

     

    0

Please sign in to leave a comment.