Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Adafruit_ILI9341 compile errors
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Adafruit_ILI9341 compile errors

by davidgs on Tue Aug 11, 2020 7:42 am

I'm trying to use a TFT Featherwing, and getting some odd compile-time issues with the library in question. Started out as intermittent, now it's persistent and I can no longer build at all:

Code: Select all | TOGGLE FULL SIZE
In file included from /Users/davidgs/Documents/Arduino/EnvDisplay/EnvDisplay.ino:3:0:
/Users/davidgs/Documents/Arduino/libraries/Adafruit_ILI9341/Adafruit_ILI9341.h:144:32: error: expected ')' before 'busWidth'
   Adafruit_ILI9341(tftBusWidth busWidth, int8_t d0, int8_t wr, int8_t dc, int8_t cs = -1, int8_t rst = -1, int8_t rd = -1);
                                ^


I'm stumped. At one point removing the line-breaks and tabs inside definitions worked to stop the errors. Now nothing does.

Any help appreciated!

Board: Adafruit Feather ESP32
OS: Mac OS

davidgs
 
Posts: 36
Joined: Mon Jul 06, 2015 4:31 pm

Re: Adafruit_ILI9341 compile errors

by davidgs on Tue Aug 11, 2020 8:57 am

Solved! There was an old `Adafruit_GFX_Library_ID13` hanging around that apparently the compiler *sometimes* chose to use. Deleted that and it all works now.

dg

davidgs
 
Posts: 36
Joined: Mon Jul 06, 2015 4:31 pm

Please be positive and constructive with your questions and comments.