Running the AppWizard example

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Running the AppWizard example

      I before use emWin 5 with GuiBilder. Now I want using AppWizard. I use example the AppWizard V1.34a_6.30a "A dynamic color is set to an IMAGE object with an alpha bitmap."
      The program start and show screen without image. When the touch slider image is touched and a hard fault interrupt occurs.
      I use:
      • STM32F407VET6 with FSMC created CubeMX
      • FreeRTOS Kernel V10.3.1, set 15 k
      • the display "7inch Capacitive Touch LCD (C)" with driver RA8875 and GT911.
      emWin settings:
      • GUIDRV_FLEXCOLOR_F66721
      • GUIDRV_FLEXCOLOR_M16C0B16
      • XSIZE_PHYS 800
      • YSIZE_PHYS 480
      • COLOR_CONVERSION GUICC_565
      • GUI_NUMBYTES (1024 * 32)
      When I change in AppWizard Image -> Properties -> Set alpha any value, then program run without hard fault and image no showing.
      Also, the sliders are not fully displayed, only begin and end. This is shown in the photo.


      What should I pay attention to? Where is error?
      Or please give me working project with examples.
      Thank you for help.
      Images
      • before touch.jpg

        166.4 kB, 1,280×961, viewed 298 times
      • after touch.jpg

        141.16 kB, 1,280×961, viewed 372 times

      The post was edited 2 times, last by SimWhite ().

    • I partially solved the question. Програма припинила збій в Hard Fault.
      I used to use the GUICC_565 color setting (emWin V5.32)
      LCDConf.c:
      #define COLOR_CONVERSION GUICC_565 changed to #define COLOR_CONVERSION GUICC_M565

      GUIConf.h:
      #define GUI_USE_ARGB 0// Swaps the meaning of a logical color from ABGR to ARGB

      AppWizard:
      Color Format 16 Bit, GUICC_M565

      1. When starting the program, a picture of a hat is displayed (1 picture)
      2. The slider can change the alpha blending of the image.

      But I have a question. Why is the slider not fully drawn?
      Images
      • 1_start.jpg

        215.41 kB, 1,280×960, viewed 265 times
      • 2_touch.jpg

        123.01 kB, 1,280×960, viewed 254 times
      • AppWizard.JPG

        31.9 kB, 865×180, viewed 292 times

      The post was edited 1 time, last by SimWhite ().

    • I use Progbar. I need to change the color of the ProgBar depending on the conditions (RED, BLUE, GRAY, BROWN).
      How to change the color of the ProgBar in the code while the program is running?

      Also, I need to change the number of ProgBars from 1 to 60. The user has to dynamically set the number of ProgBars.
      How to implement it programmatically?

      I will be very grateful for your help

      The post was edited 1 time, last by SimWhite ().