User_Setups/Setup201_WT32_SC01.h used to set definitions for SC01 board. Both in ui.ino and in squareline project settings, width is defined as 480 and height is defined as 320. Yet it appears to be redefining on compilation (see error below). Upload succeeds, but display ony shows lines across the screen (see photo). I can only assume the error and change of width and height to be the issue, short of faulty hardware. Anyone have similar issues?
Adidtional info - 8 bit depth, no rotation or offsets. LVGL 8.3.11
{
In file included from d:\Desktop\SQLN 4\SquareLine_Project\libraries\TFT_eSPI/User_Setup_Select.h:171,
from d:\Desktop\SQLN 4\SquareLine_Project\libraries\TFT_eSPI/TFT_eSPI.h:43,
from D:\Desktop\SQLN 4\SquareLine_Project\ui\ui.ino:2:
d:\Desktop\SQLN 4\SquareLine_Project\libraries\TFT_eSPI/TFT_Drivers/ST7796_Defines.h:3: warning: “TFT_WIDTH” redefined
#define TFT_WIDTH 320
In file included from d:\Desktop\SQLN 4\SquareLine_Project\libraries\TFT_eSPI/User_Setup_Select.h:107,
from d:\Desktop\SQLN 4\SquareLine_Project\libraries\TFT_eSPI/TFT_eSPI.h:43,
from D:\Desktop\SQLN 4\SquareLine_Project\ui\ui.ino:2:
d:\Desktop\SQLN 4\SquareLine_Project\libraries\TFT_eSPI/User_Setups/Setup201_WT32_SC01.h:15: note: this is the location of the previous definition
#define TFT_WIDTH 480
In file included from d:\Desktop\SQLN 4\SquareLine_Project\libraries\TFT_eSPI/User_Setup_Select.h:171,
from d:\Desktop\SQLN 4\SquareLine_Project\libraries\TFT_eSPI/TFT_eSPI.h:43,
from D:\Desktop\SQLN 4\SquareLine_Project\ui\ui.ino:2:
d:\Desktop\SQLN 4\SquareLine_Project\libraries\TFT_eSPI/TFT_Drivers/ST7796_Defines.h:4: warning: “TFT_HEIGHT” redefined
#define TFT_HEIGHT 480
In file included from d:\Desktop\SQLN 4\SquareLine_Project\libraries\TFT_eSPI/User_Setup_Select.h:107,
from d:\Desktop\SQLN 4\SquareLine_Project\libraries\TFT_eSPI/TFT_eSPI.h:43,
from D:\Desktop\SQLN 4\SquareLine_Project\ui\ui.ino:2:
d:\Desktop\SQLN 4\SquareLine_Project\libraries\TFT_eSPI/User_Setups/Setup201_WT32_SC01.h:16: note: this is the location of the previous definition
#define TFT_HEIGHT 320
}