ImpulseAdventure / GUIslice

GUIslice drag & drop embedded GUI in C for touchscreen TFT on Arduino, Raspberry Pi, ARM, ESP8266 / ESP32 / M5stack using Adafruit-GFX / TFT_eSPI / UTFT / SDL
https://www.impulseadventure.com/elec/guislice-gui.html
MIT License
1.12k stars 204 forks source link

How making a Bootup splashscreen #488

Closed umsmin closed 1 year ago

umsmin commented 1 year ago

Another question what I have, is it possible to make a "Bootscreen"?

Device hardware MCU: ESP32 Display with link: ILI9341 2.8" resistive https://www.amazon.de/gp/product/B08SBTBRZV/ref=ppx_yo_dt_b_asin_title_o08_s00?ie=UTF8&psc=1 GUIslice config selected: esp-tftespi-default-xpt2046_int.h

Checklist to try first

I tried with all manuals from github.

Please confirm whether:

Expected behavior

I need for my Hardware a screen who show the progress. It works but was shown to late. The hardware was nearly initialized

Uli

Pconti31 commented 1 year ago

@umsmin Not really sure what you are looking for here. I took my best guess and created modified a demo I have for doing a splash screen at startup that shows a logo(GUIslice). The modification is removing a timer and replacing it with a progress bar. Once the progress bar is full the popup is closed. I simulate hardware loading using a simple counter.

If this isn't what you are looking for please post a small example simulating your hardware with a counter and I'll take another look.

ex_boot_screen.zip

Paul--

umsmin commented 1 year ago

Nearly perfect it works. Only the splash keep on the screen. Thanks a lot

Uli

Pconti31 commented 1 year ago

@umsmin No Problem. If this works for you I would appreciate a star in my repository GUIsliceBuilder. Also, since GUIslice isn't my repository I have no access to close this issue you have to do it.
Paul--

umsmin commented 1 year ago

Now it works. The maximal count of 100 was never reached. So he can't close it.

The STAR will be there because you preserve it!

Thanks Uli