Page 1 of 1

GLCD Display Manager Overhaul

Posted: Wed Apr 10, 2024 6:08 pm
by BenR
Hello,

I've recently added a lot of new functionality into the GLCD Display Manager component to help make it a bit easier to use and more functional. It is now capable of drawing primitives as well as touch interactive elements such as buttons and sliders. There are colour themes which makes it easier to define your colour pallets and text can now be drawn on top of any item and justified in both vertical and horizontal.

There's a new wiki page and example available here.
https://www.flowcode.co.uk/wiki/index.p ... l_Library)

Currently the only extra thing I maybe want to add is object and button types that can draw bitmaps, though I'm not 100% sure how to do this just yet.

If anyone wants to have a go and report back as to how they get on then that would be very appreciated.

Re: GLCD Display Manager Overhaul

Posted: Wed Apr 10, 2024 6:49 pm
by mnfisher
Looks a very neat idea.

I tried with the esp32s3 board (parallel ILI9488) - and got many build errors.
G:/Downloads/DisplayManagerDemo/main/esp-project.c: In function 'FCD_0fe41_gLCD_ILI9488__Initialise':
G:/Downloads/DisplayManagerDemo/main/esp-project.c:2810:21: error: expected expression before '?' token
2810 | SET_PORT_MASK(?,0x0, 0);
| ^
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_IO.h:91:78: note: in definition of macro 'SET_PORT_MASK'
91 | #define SET_PORT_MASK(p,m,v) FC_CAL_Port_Out_DDR (p, m, v)
being the start of them :-(

Martin

Re: GLCD Display Manager Overhaul

Posted: Wed Apr 10, 2024 7:06 pm
by jgu1
Hi Ben!

First thank you for you effort and upgrading and all the benefit. :D You know I have a lot of project with these display (all Ili and st7796), hopefully the new benefit not have any influence of my project´s ;) I sometimes make improvements to these projects.

I have test your eksamble in simulation, but get these error.

See that the ST7735 is added, I will order one and test it for a project, Thank´s.

What is the FT6X06 vs. XPT2046?

Look forward to learn and test your new improvement ;)
Thank´s in advance.

Br Jorgen

Re: GLCD Display Manager Overhaul

Posted: Wed Apr 10, 2024 7:45 pm
by BenR
Hi Martin,

I tried with the esp32s3 board (parallel ILI9488) - and got many build errors

They look like I/O related compile errors. is the display component connected correctly?


Hi Jorgen,

Looks like you might need to update to the latest component via library updates.

Re: GLCD Display Manager Overhaul

Posted: Wed Apr 10, 2024 8:56 pm
by mnfisher
is the display component connected correctly?
I'm going to say 'maybe' - or I think/hope so...

2024-04-10_20-53-02.png
2024-04-10_20-53-02.png (23.48 KiB) Viewed 766 times

Will play some more....

Re: GLCD Display Manager Overhaul

Posted: Fri Apr 12, 2024 5:31 pm
by BenR
Could maybe be that led pin being in the different style? Shouldn't cause an issue but you never know. That's the only thing jumping out to me.