You deserve to know!

For general Flowcode discussion that does not belong in the other sections.
Post Reply
jgu1
Posts: 813
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 696 times
Been thanked: 183 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 77 times

mnfisher
Valued Contributor
Posts: 1630
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 142 times
Been thanked: 761 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: 813
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 696 times
Been thanked: 183 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: 1952
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 698 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