You deserve to know!

For general Flowcode discussion that does not belong in the other sections.
Post Reply
jgu1
Posts: 855
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 746 times
Been thanked: 187 times

Flowcode v10 You deserve to know!

Post by jgu1 »

Hi MM team!

For a while ago, I discover that the Display ST7796 4" was added when I update the Lib. I order a couble on Ebay and they arrive today. I have made a test, it work perfect, nice big display. Thank´s ;)

Seller: https://www.ebay.com/itm/195213436800?var=494994522072

Br Jorgen
Attachments
ST7796_Standard.fcfx
(15.18 KiB) Downloaded 83 times

mnfisher
Valued Contributor
Posts: 1698
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 146 times
Been thanked: 789 times

Re: You deserve to know!

Post by mnfisher »

Thanks Jorgen,

Looks a nice display - and bigger is definitely better for my old eyes....

Martin

jgu1
Posts: 855
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 746 times
Been thanked: 187 times

Re: You deserve to know!

Post by jgu1 »

Hi Martin!

Same for me :lol:

Next step, testing the same Spi for the Touch. you hear.

BenR
Matrix Staff
Posts: 1992
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 523 times
Been thanked: 710 times

Re: You deserve to know!

Post by BenR »

So you are aware I've just pushed some changes to some of the bigger GLCD components which hopefully should offer some nice speed boosts. Straight lines and rectangles now open a window and send pixel values in a sequence rather then an addressed pixel at a time. Straight lines are used to draw filled ellipses and circles so these should also be a lot faster. Text should already use this method if you are printing none transparent text.

The following components have been included with the mod.
ILI9341 / ILI9341 SPI
ILI9488 / ILI9488 SPI
ILI9163C
ST7796 SPI

For the larger SPI based GLCD devices I've also added some additonal properties named Queue Fast Pixels and when enabled you also get a property allowing you to specify the max number of pixels to buffer. Switching this on for ESP32 based devices should give you another big speed boost as the SPI can write in a burst rather then constantly starting and stopping for each pixel.

The two mods combined I went from a full screen (320x480) rectangle taking over 7s to under 0.3s on an ESP32.

Let me know if you spot any problems with the changes.

Post Reply