STM32
1. In CubeMX, I choose Board Selector and 32F746GDISCOVERY. I choose “Initialize all ... Mode” Yes. Then FATFS-no, FREERTOS-no, USB_HOST-no a GRAPHICS-yes (Display Paraller ... yes).
2. I turn off ADC3, DCMI, ETH, I2C1, QUADSPI, SAI2, SDMMC1, SPDIFRX, SPI2, TIM1, TIM2, TIM3, TIM5, TIM8, TIM12, USART6, USB_OTG_FS.
3.In RCC, I disable LSE. Why it indicates an error before disabling Clock Configuration ?
4.In DMA2D, set Color Mode RGB565, LTDC Layer 0 - Pixel RGB565 format, I2C3 Primary slave address 112 and DMA I2C_RX and I2C3_TX
5. GRAPHICS X size 480, Y size 272, Layer0- Color Conversion GUICC_M565, Use GUIBuilder Tool Enable, Graphics Application Category Window
6. Project-settings-name-SW4STM32- Generate Under Root-no - Code Generator - Copy all used...OK
7. Generate Code
8.I add the BSP library, ts.h, ft5336, rk043fn48h, Fonts
9.. In emWin GUIBuilder V5.40a I build a window with one button.
10 Build and write to panel. Is OK.
__How to do it to change the color after pressing the button and add “OK”?