Page 1 of 1

You deserve to know!

Posted: Wed May 03, 2023 7:46 pm
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

Re: You deserve to know!

Posted: Thu May 04, 2023 7:46 am
by mnfisher
Thanks Jorgen,

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

Martin

Re: You deserve to know!

Posted: Thu May 04, 2023 7:35 pm
by jgu1
Hi Martin!

Same for me :lol:

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

Re: You deserve to know!

Posted: Wed May 10, 2023 10:22 am
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.