GUIslice drag & drop embedded GUI in C for touchscreen TFT on Arduino, Raspberry Pi, ARM, ESP8266 / ESP32 / M5stack using Adafruit-GFX / TFT_eSPI / UTFT / SDL
Test code for the display work fine after altering DC and CS pinout. Nothing appear on display using sample code ex01_ard_basic.
Perhaps something to do with the device platform not being detected automatically? In order to get the example ex01_ard_basic to compile I needed to manually #define AVR, perhaps this is the root of my issue..
GUIslice config selected: ard-adagfx-ili9341-notouch.h Modified CS, DC, and RST pins to match HW
Checklist to try first
Most display/touch issues can be identified by working through the steps in the Configuring GUIslice guide.
Please confirm whether:
Display works correctly with standalone display driver library examples (eg. TFT_eSPI graphicstest, Adafruit graphicstest, etc.) without GUIslice:Yes, Adafruit_ILI9341.h example code name, "graphicstest" works find after changing pinout
Touch works correctly with standalone touch library examples without GUIslice:No touch
Please copy any startup messages / errors reported to the serial monitor window here. You can enable all error messages by setting DEBUG_ERR 2 in the GUIslice config file.
GUIslice version [0.17.0]: Init display handler [ADA_ILI9341(SPI-HW)] OK No touch handler enabled
Additional info
I needed to add '#define AVR' in order to compile..
'C:\Users\Samson\Documents\Arduino\libraries\arduino_5100\src\GUIslice.c:62:14: fatal error: pgmspace.h: No such file or directory
62 | #include
| ^~~~
compilation terminated.
exit status 1
Error compiling for board CANBed M4 (SAME51G19A).'
Describe the bug
Test code for the display work fine after altering DC and CS pinout. Nothing appear on display using sample code ex01_ard_basic. Perhaps something to do with the device platform not being detected automatically? In order to get the example ex01_ard_basic to compile I needed to manually #define AVR, perhaps this is the root of my issue..
Device hardware
ard-adagfx-ili9341-notouch.h
Modified CS, DC, and RST pins to match HWChecklist to try first
Most display/touch issues can be identified by working through the steps in the Configuring GUIslice guide.
Please confirm whether:
Expected behavior
I expect to see the black box on grey background as shown on https://github.com/ImpulseAdventure/GUIslice/wiki/Configure-GUIslice-for-ARM-Cortex, Step 5
Initialization messages
Please copy any startup messages / errors reported to the serial monitor window here. You can enable all error messages by setting
DEBUG_ERR 2
in the GUIslice config file.GUIslice version [0.17.0]: Init display handler [ADA_ILI9341(SPI-HW)] OK No touch handler enabled
Additional info
I needed to add '#define AVR' in order to compile..
'C:\Users\Samson\Documents\Arduino\libraries\arduino_5100\src\GUIslice.c:62:14: fatal error: pgmspace.h: No such file or directory 62 | #include
| ^
~~~ compilation terminated. exit status 1 Error compiling for board CANBed M4 (SAME51G19A).'