GLCD Display Manager Overhaul

For general Flowcode discussion that does not belong in the other sections.
Post Reply
BenR
Matrix Staff
Posts: 1742
http://meble-kuchenne.info.pl
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 443 times
Been thanked: 604 times

GLCD Display Manager Overhaul

Post 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.

mnfisher
Valued Contributor
Posts: 962
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 511 times

Re: GLCD Display Manager Overhaul

Post 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

jgu1
Posts: 615
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 507 times
Been thanked: 132 times

Re: GLCD Display Manager Overhaul

Post 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
Attachments
BenEksamble.png
BenEksamble.png (37.39 KiB) Viewed 196 times

BenR
Matrix Staff
Posts: 1742
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 443 times
Been thanked: 604 times

Re: GLCD Display Manager Overhaul

Post 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.

mnfisher
Valued Contributor
Posts: 962
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 511 times

Re: GLCD Display Manager Overhaul

Post 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 177 times

Will play some more....

BenR
Matrix Staff
Posts: 1742
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 443 times
Been thanked: 604 times

Re: GLCD Display Manager Overhaul

Post 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.

Post Reply