New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[P116] ST7735/ST7789/ST7796 TFT Plugin and AdafruitGFX helper #3761
[P116] ST7735/ST7789/ST7796 TFT Plugin and AdafruitGFX helper #3761
Conversation
…feature/p116-st77xx-tft-plugin-and-helpers
Just a tip on libraries... |
Thanks for the pointers. |
Well if you're done with the lib changes to make it work with ESPEasy, we can make it into a separate library for our own. |
The only 'requirement' for this lib is that it doesn't pull in the |
…feature/p116-st77xx-tft-plugin-and-helpers
Locally built (Includes both the OTA-update |
|
I'll have a look |
What output do you get in the log (serial or weblog) when issuing this command? Mine shows:
But that's to be expected, as my unit doesn't have that file uploaded 😉 |
And when using a filename that is on the filesystem I get this:
|
ok |
If you connect BLK to VCC, I expect the display to work. An issue regarding PWM on ESP32 has been fixed after the 20220427 release. |
hi:
1、connect BLK to VCC and Github Actions build can't display content.The screen is white after sending the command(no display Espeasy),reupdate firmware 20220328 display ok
2、I found a new fix,2.4 IL9341 St7789 (240*320) and st7796(320*480) display can be added, but the color is incorrect.
…------------------ 原始邮件 ------------------
发件人: "letscontrolit/ESPEasy" ***@***.***>;
发送时间: 2022年5月12日(星期四) 中午1:48
***@***.***>;
***@***.******@***.***>;
主题: Re: [letscontrolit/ESPEasy] [P116] ST7735/ST7789/ST7796 TFT Plugin and AdafruitGFX helper (#3761)
ESP_Easy_mega_20220427_display_ESP32_4M316k,not display。
If you connect BLK to VCC, I expect the display to work. An issue regarding PWM on ESP32 has been fixed after the 20220427 release.
If you download and install the Display bin from f.e. this Github Actions build, the backlight control should work again as intended.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
1、connect BLK to VCC and Github Actions build can't display content.The screen is white after sending the command(no display Espeasy),reupdate firmware 20220328 display ok |
Can you try the Display build from this Actions run ?, that adds some more supported display models to the ILI9341 plugin (P095). |
update this new firmware [this Actions run](https://github.com/letscontrolit/ESPEasy/actions/runs/2296287234 normal display,
endon` time display? |
If you also include a background color in your txtfull subcommand: |
How do I enable other fonts in a custom build? |
2 ways:
|
Can I add fonts that are not in the library separately? for example: |
Fonts have to be converted to data, and compiled into the bin before they can be used. |
|
rules: |
Does that work better if you do not use the |
Hm, it gets quite confusing if you show alternating the ILI9xxx and the ST77xx displays. The net result will be the same on both (they use the same code for displaying), so please keep it to 1 display/rules version you share. Possible cause is that the space character for this font isn't wide enough (or 0) to wipe out the previous content. I'll have a look. |
I tested ili9341 and st37xx, both of which have the same problem. Maybe font isn't wide enough (or 0),Which piece of code should be modified? |
The colon on the last picture also doesn't look like it is monospaced. |
The I'm working on fixes in this area, just haven't ironed out all the wrinkles yet. |
But with ironing out the wrinkles, you make it monospaced again ;) |
AdafruitGFX_helper
class, as a generic interface for all displays using the Adafruit_GFX libraryDISPLAY
builds, that have been set toLIMIT_BUILD_SIZE
for ESP8266 to acquire some .bin spaceResolves: #836 and a forum request
Resolves: #1226
Resolves: #3012
TODO:
AdafruitGFX_helper
to other graphic display plugins, where possibleAdafruitGFX_helper
(SPI pin issues...)(resolved by User-defined SPI config [SPI][ESP32] User-defined GPIO pins for SCLK, MISO and MOSI #3773)