NHD-4.3CTP-SHIELD-V - Examples still won't compile



  • Paul_B

    Morning Peter,

    I’m sorry to hear about the trouble you are having with the NHD-4.3CTP-SHIELD.

    As stated previously the FT80x library was originally written with the old IDE, and since then the avr-gcc compiler has changed and certain keywords/datatypes give errors in the new Arduino IDE’s.

    Please note that the FTDI_FT800 & FTDI_FT801 Libraries were updated back in February (of 2017) on our GitHub page:


    The code successfully complies on version 1.8.1 - 1.8.5 (latest release)

    I verified correct operation this morning using an Arduino Uno and the NHD-4.3CTP-SHIELD-V (Arduino V. 1.8.5).

  • Paul_B

    Can you please check which Arduino IDE version you have installed?

    Second, it might be worth trying a fresh install of the latest Arduino IDE:

    Arduino files are found in 3 locations: The installation folder, the sketchbook folder, and the Arduino15 folder. The installation folder should be removed when you uninstall but the other two folders remain so you will need to remove those also to get a completely clean install. The Arduino15 folder is located at:

    On Mac OS X:

    On Windows:
    Arduino IDE 1.6.5r5 and previous:
    Arduino IDE 1.6.6 and later:

    On Linux:
    /home/(username)/.arduino15    (a.k.a. ~/.arduino15)

    If you delete this folder then you will need to reinstall any Boards you have installed using Boards Manager after you reinstall the Arduino IDE.

    The sketchbook folder location is set in File > Preferences if you have any sketches or libraries that you want to save in there then back them up before removing it.

    If you have any questions, please feel free to contact me.

  • peterfarrow

    Hi Paul,

    I am running Arduino IDE, the latest version, it doesn't compile.

    I won't roll back to the 1.8 version since is the latest repo provided version by apt-get and uninstalling this and installing from source is bad practice.

    I have requested an RMA from Mouser.co.uk (my supplier) but they are being awkward.

    All told a bad experience so far, but on the plus side our Nextion prototypes are working very well indeed!



Please sign in to leave a comment.