Author Topic: Sample Code for NHD-2.4-240320CF-CTXI with UNO or Metro  (Read 4099 times)


  • Newbie
  • *
  • Posts: 2
  • Karma: 1
    • View Profile
Sample Code for NHD-2.4-240320CF-CTXI with UNO or Metro
« on: March 17, 2016, 07:20:17 PM »
The example code for the above mention TFT board was for Arduino Mega and I don't have a Mega at this moment. And it seemed nobody ever tried this with a Uno. So after several days of trying I wrote a example code for it (by modifying the example code). Hopefully someone will benefit from it. Cheers!

(I used a replica of UNO from Adafruit, called Metro. They have onboard 3.3V regulator for 3.3V logic.)

The repository has two codes. One with using Arduino functions, which is not very optimized. Lots of function call slow down the update rate. The second code uses inline functions. The code size might increase because of that but the update rate is incredibly high.
« Last Edit: March 18, 2016, 12:28:58 AM by fahad »


  • Administrator
  • Hero Member
  • *****
  • Posts: 301
  • Karma: 17
    • View Profile
Re: Sample Code for NHD-2.4-240320CF-CTXI with UNO or Metro
« Reply #1 on: March 18, 2016, 08:42:03 AM »
Morning Fahad,

Thank you so much for sharing! Can't wait to try out your example code on the NHD-2.4-240320CF-CTXI ;)

Have a great weekend!


NHD‐0420CW‐AG3 + I2C + PIC assembly code: trouble getting started

Started by RichardRBoard OLEDs

Replies: 4
Views: 7606
Last post December 17, 2015, 03:12:49 AM
by RichardR
NHD-1.8-128160EF-CTXI ili9163 & SAM3s driver help needed

Started by JsaggioBoard TFTs

Replies: 0
Views: 3784
Last post February 01, 2016, 01:02:58 AM
by Jsaggio
NHD-1.8-128160EF-CTXI# problem: becomes pale after using it for some time

Started by fvdhoefBoard TFTs

Replies: 1
Views: 5305
Last post July 31, 2014, 08:55:40 AM
by Michael_L
Writing Character strings to NHD-1.8-128160EF-CTXI#

Started by JeffJwayBoard TFTs

Replies: 3
Views: 5093
Last post July 13, 2016, 09:45:21 AM
by Michael_L
NHD-7.0-800480WF-CTXI# initial problem

Started by cwparkBoard TFTs

Replies: 0
Views: 3585
Last post December 02, 2014, 06:22:04 AM
by cwpark