Display - TFT ILI934x/ILI948x

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
The-Holgi
Normal user
Posts: 12
Joined: 14 Feb 2018, 17:07

Display - TFT ILI934x/ILI948x

#1 Post by The-Holgi » 28 Feb 2025, 10:50

Hello,I have the ILI9488 on ESPEasy build mega-20241222. Almost everything works well. Dimming via the command line or rules doesn't work.
It works via the device tab. The values ​​as set via rules are also displayed in the device, but the brightness only changes when you click submit in the device.
So dimming via rules is not possible.
What can I do?

User avatar
Ath
Normal user
Posts: 4330
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Display - TFT ILI934x/ILI948x

#2 Post by Ath » 28 Feb 2025, 11:31

I'll have a look at the code, later today, to see if something needs to be fixed. :?
/Ton (PayPal.me)

User avatar
Ath
Normal user
Posts: 4330
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Display - TFT ILI934x/ILI948x

#3 Post by Ath » 28 Feb 2025, 21:34

I've found that this was indeed not working as intended, so made a PR to fix that: #5296

What build do you have installed, so I can upload a fixed build here?
/Ton (PayPal.me)

The-Holgi
Normal user
Posts: 12
Joined: 14 Feb 2018, 17:07

Re: Display - TFT ILI934x/ILI948x

#4 Post by The-Holgi » 28 Feb 2025, 22:57

Hello, i have this installed:
ESP_Easy_mega_20250224_max_ESP32s3_16M8M_LittleFS_OPI_PSRAM_CDC_ETH
Git Build:⋄ HEAD_b5f9e7b
Thank you!

User avatar
Ath
Normal user
Posts: 4330
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Display - TFT ILI934x/ILI948x

#5 Post by Ath » 28 Feb 2025, 23:35

A testbuild for PR #5269:
/Ton (PayPal.me)

The-Holgi
Normal user
Posts: 12
Joined: 14 Feb 2018, 17:07

Re: Display - TFT ILI934x/ILI948x

#6 Post by The-Holgi » 01 Mar 2025, 10:11

Tank you so much for the fast help.
It works :mrgreen:
Greetings Holger

User avatar
Ath
Normal user
Posts: 4330
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Display - TFT ILI934x/ILI948x

#7 Post by Ath » 01 Mar 2025, 10:17

Great, thanks for the feedback :)
/Ton (PayPal.me)

The-Holgi
Normal user
Posts: 12
Joined: 14 Feb 2018, 17:07

Re: Display - TFT ILI934x/ILI948x

#8 Post by The-Holgi » 01 Mar 2025, 10:22

Another question, is it possible to only change the background color via rules? I didn't find anything about it.
I want to change the background color depending on a temperature sensor

User avatar
Ath
Normal user
Posts: 4330
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Display - TFT ILI934x/ILI948x

#9 Post by Ath » 01 Mar 2025, 10:51

The-Holgi wrote: 01 Mar 2025, 10:22 Another question, is it possible to only change the background color via rules? I didn't find anything about it.
I want to change the background color depending on a temperature sensor
Hm, that's currently not supported, neither in the commands, nor technically, as the current on-screen data isn't buffered (in ESPEasy, because of memory restrictions), and the background color is applied before or during writing text (when different from the text/foreground color. If the fg- and bg-colors are the same, the background becomes transparent during the write, so you can write on a preloaded bitmap).

As an alternative, you can have a look at the 'windowing' subcommands (defwin, delwin, win) that can be used to confine writing/drawing commands to a specific screen area. You can then redraw only that part of the screen, after changing the background color. This will probably cause some screen-flicker.
/Ton (PayPal.me)

The-Holgi
Normal user
Posts: 12
Joined: 14 Feb 2018, 17:07

Re: Display - TFT ILI934x/ILI948x

#10 Post by The-Holgi » 01 Mar 2025, 11:10

Thanks for the explanation. It's not that important to me now. Was just an idea.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests