Skip to content
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

TFT examples ie ST7735 IL* #7

Open
tablatronix opened this issue Jun 20, 2019 · 3 comments
Open

TFT examples ie ST7735 IL* #7

tablatronix opened this issue Jun 20, 2019 · 3 comments

Comments

@tablatronix
Copy link

I am trying to get st7735 example ported, using the ada gfx library the fillscreen and spi draw for clear takes a long time and it flickers.

Might try pdc lib, tft_espi would require some library rewrites, pdc should be gfx compatible with spi optimizations, can try that.

Maybe a wrapper for tft_espi class to make it have a gfx object container shrug not sure how

If anyone has any suggestions for optimizing gfx spitft esp8266 routine or know of a fork let me know thanks.

C00296AE-AF13-4634-8196-45BA99C376FD

@tablatronix
Copy link
Author

tablatronix commented Jun 20, 2019

Oh forgot the obvious, to probably implement this we would need to minimize the redraws to the pixels that changes only, double buffering is probably not an option as the memory and speed would be just as bad, so modifying the lib to just check last positions or the smallest rect tracking per piece and write bgcolor to it.

Probably too much work, but feel free to comment if you want a color tft , there might already be another library to do that, or if you have any ideas..

@tablatronix tablatronix changed the title St7735 example TFT examples ie ST7735 IL* Jun 20, 2019
@tablatronix
Copy link
Author

I will try a few more tfts in a bit and see if any support this better in the driver or ic.

@phorn-NI
Copy link

Hi @tablatronix @witnessmenow ,

This library is awesome!

did anyone write a wrapper for TFT_eSPI? I just got an ILI9488 display and have the TFT_eSPI examples working fine, but can’t pass the TFT_eSPI object to the Tetris animation object (I can share the error later if that helps, on my phone right now).

Also the ezTime examples seem to be crashing my esp32 board, but I can figure that out separately.

Cheers,

Pete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants