error compiling TFT_eSPI

I just got the latest version of TFT_eSPI from Github, very carefullly read everything, by good chance have the exact same ESP32 board as in the readme so did the solder mods.

Changed User_Setup.h, and have edited User_Setup_Select.h (to point to either User_Setup.h or User_Setups/Setup14_ILI9341_Parallel.h)

Arduino IDE v 1.8.13

trying to compile Read_User_Setup get the following error

"D:\XX\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp" -o "D:\TEMP\arduino_build_278695\libraries\TFT_eSPI\TFT_eSPI.cpp.o"

D:\XX\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp: In member function 'void TFT_eSPI::end_tft_write()':

D:\XX\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:87:23: error: 'SPI_BUSY_CHECK' was not declared in this scope

if(!inTransaction) {SPI_BUSY_CHECK; CS_H; SET_BUS_READ_MODE;}

Not sure what I've stuffed up...

User_Setup.h (15.6 KB)

User_Setup_Select.h (10.7 KB)

It is not you that stuffed up anything! I introduced the problem during recent updates for the Raspberry Pi Pico.

I eventually spotted this and it has been corrected.

Please download the latest from Github and try it.

Compiled first time.

I did stuff up, this display isn't the 9341 I thought I bought but a 9486 (parallel) which seems close emough to the 9488. Your library made it real easy to fix.

Edit: using the 9486 driver now as I should. The examples and demos are impressive, this is great :slight_smile:

Glad to hear of your success. Enjoy!

This topic was automatically closed after 90 days. New replies are no longer allowed.