Back in January, I had no issues compiling with the UTFT library and the display worked. Now with no changes to the code I get the baffling error:
CellTester_21:6:10: error: 'ILI9488_16' was not declared in this scope
UTFT tft(ILI9488_16, 7, 38, 9, 10);
even though ILI9844_16 is defined in UTFT.h which has been included. Substituting the token ILI19844_16 with its value 34, allows it to compile and upload, but the display refuses to work.
Commenting out memorysaver.h makes no difference.
Display: 3.5" 480x320 EastRising (BuyDisplay.com) with shield, Mega 2560
Is this the library I should use? Is this the display I should use?
BTW, the search function in the forum is broken. I searched for ILI9844 in the Display subforum, and it did not find the latest 7 titles containing the keyword and surely many many more. Only three posts were found.
Thanks to all
#include <memorysaver.h>
#include <UTFT.h>
#include "CellTester.h"
UTFT tft(ILI9488_16, 7, 38, 9, 10);
extern uint8_t SmallFont[];
UTFT.h:
#define ILI9341_16 33
#define ILI9488_16 34
#define ILI9342_16 35
**** UPDATE ****
It appears that after updating my IDE to 1.8.15, an older version of the UTFT library got automatically installed, wiping out the new UTFT version. This older version (there are no version numbers) does not support ILI9488.
I am now trying to update the local UTFT library.