Search Results
Search results 1-19 of 19.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Download GUI folder
Rick MI - - emWin related
PostHello, I started reading the manual of emWin and it says I need a folder that contains other folders such as GUI\Core, GUI\Fonts etc. (pag 50 of the manual). Where can I find this folder? I tried to download it from the Segger website and I get a GUI folder but it only contains two folders (Include and Library).. I am missing parts of the components to start a project with emWin.. If you can post a link of the download page! Thanks!
-
I want to change the checkbox color using function CHECKBOX_SetBoxBkColor(). Problem is the color does not change.. Here is my simple code: WM_TOUCH: hItem = WM_GetDialogItem(pMsg->hWin, ID_STATUS_CHECKBOX_1); CHECKBOX_SetBoxBkColor(hItem, GUI_YELLOW, CHECKBOX_CI_ENABLED); break; Any problem with my code? How can I solve the problem? Thanks
-
Dropdown widget problem
Rick MI - - emWin related
PostThanks for your answer. This is the code that I have implemented for the touch screen. Main: /* Enable I-Cache-------------------------------------------------------------*/ SCB_EnableICache(); /* Enable D-Cache-------------------------------------------------------------*/ SCB_EnableDCache(); HAL_Init(); SystemClock_Config(); MX_GPIO_Init(); MX_TIM6_Init(); MX_LTDC_Init(); BSP_TS_Init(800, 480); //initialize touch panel BSP_SDRAM_Init(); /* Initializes the SDRAM device */ __HAL_RCC_CRC_CLK_ENAB…
-
Touch screen buttons
Rick MI - - emWin related
PostI made it work with BUTTON_SetPressed()! thanks!
-
Dropdown widget problem
Rick MI - - emWin related
PostI am using a simple dropdown widget. Problem is the widget expands only at the first touch on the screen. After that it never closes, even if the rest of the widgets present in the window still work. Also, once expanded, the elements in the dropdown list cannot be selected.. I don't see why this is not working. Any idea why this happens? thanks
-
Touch screen buttons
Rick MI - - emWin related
PostI have implemented a small keyboard using the button widgets to insert letters inside an edit widget. I also implemented touch screen. Everything works fine but I have one problem: once selected, the buttons of the keyboard are not automatically unselected, so in order to insert the same letter twice in a row, I need to touch other parts of the screen between one selection and the following one. Does anyone know why this happens? Thanks
-
SkinFlex Buttons
Rick MI - - emWin related
PostWhat do you mean with "outer switch"? I tried to leave the disable case empty but I still see the button disappear. Is it right to leave the default empty?
-
SkinFlex Buttons
Rick MI - - emWin related
PostThank you for your reply. I tried to implement the code but what happens is that the button disappears.. I can't understand the reason why. Does it happen to you too? Thanks
-
SkinFlex Buttons
Rick MI - - emWin related
PostI have 4 buttons in a window. I used the following code to set a new color to one button. C Source Code (1 line) C Source Code (1 line) C Source Code (1 line) My problem is that if I touch another button, also the other button is colored with the new colors. Why is that? Is there a way to keep the other buttons the same even if they are pressed? Thanks
-
I tried with a timer interrupt that occurs every few seconds: in the interrupt the only thing I do is: C Source Code (1 line) Then inside static void _cbDialog(WM_MESSAGE * pMsg), I added a new case for USER_MESSAGE: C Source Code (1 line) The USER_MESSAGE is defined as: C Source Code (1 line) What I believe is that, once WM_SendMessageNoPara() inside the interrupt is called, the code does not move to the callback _cbDialog() and does not execute the code inside case WM_USER. My question is: why…
-
The functions are correct since I had already imported the GUI_X.c file. By the way if I use the GUI_Delay(100) I notive that the code gets stuck inside this function. For this reason I started using GUI_Exec() to update the widgets. Could my problem be related to the non-functioning of the GUI_Delay() function? And in this case, why does the code get stuck inside the function? Thanks
-
I tried to use both methods but no results. I debugged and I never see the part of the code regarding "case: WM_TIMER" being run. Here is my code. What is wrong? int main(void) { /* Enable I-Cache-------------------------------------------------------------*/ SCB_EnableICache(); /* Enable D-Cache-------------------------------------------------------------*/ SCB_EnableDCache(); /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); /* Configure the system cl…
-
Blinking Buttons
Rick MI - - emWin related
PostI want a button in a window to blink (change its color with a certain frequency) when an event happen. How can I do it? Thanks