Search Results

Search results 1-20 of 77.

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

  • Dialog Navigation slow

    anuj.tanksali - - emWin related

    Post

    Hello, Thanks for the reply. I have already used the LCD_SetDevFunc() to set the custom copy buffer function. I will check the DMA option. Will using 3 buffers cause an improvement in speed regarding dialog loading? As mentioned above the knob widget seems to slow down dialog load quite a bit. Can we achieve the knob functionality with some other methods like memdev for drawing the bmp and memdev_rotate for rotating the bmp. if there is any sample project please share it. Thanks Regards, Anuj

  • Dialog Navigation slow

    anuj.tanksali - - emWin related

    Post

    Hello, I have a number of dialog windows for screens and navigate from one dialog to another. I had used RGB565 with multibuffering and Memdev enabled using WM_SetCreateFlags(WM_CF_MEMDEV) but observed dialog loading is slow. I call GUI_exec() continuously in my super loop while(1) to update the dialogs. I performed the following configurations below to check the dialog loading in each case. With WM_SetCreateFlags(WM_CF_MEMDEV) and #define GUI_BUFFERS 2 - Navigation between dialogs is slow. With…

  • Reistive touch issue

    anuj.tanksali - - emWin related

    Post

    Hi , Thanks for your reply. I realized this earlier and had already corrected the code but still same issue. Please see latest code below, touchState is declared as static uint16_t touchX = 0; uint16_t touchY = 0; uint8_t pressed = FALSE; static uint8_t prevState = FALSE; // Call the function to get the raw values of x,y pressed = Touch_getPositionRaw(&touchX, &touchY); if(pressed == TRUE){ // Set the parameters to send to emwin. touchState.Pressed = TRUE; // Set the values; touchState.x = touch…

  • Reistive touch issue

    anuj.tanksali - - emWin related

    Post

    Hello, Am using iMXRT1064 with Emwin library and 7" resistive touch screen. I am using a custom ADC driver to read x and y values. // points p0,p1,p2 x and y pixels int touchRefValX[3] = {40,760,400}; int touchRefValY[3] = {24,240,456}; // ADC x and y values at above points int touchSampleValX[3] = {2552,1528,1954}; int touchSampleValY[3] = {2295,1960,1803}; the range of ADC values for x and y are always in around 1400 counts to 2500 counts.for 12 bit range should be 0-4096. // init GUI_TOUCH_Ca…

  • Colors issue on Hardware

    anuj.tanksali - - emWin related

    Post

    Hi Florian, Thanks for the reply. Just a point to mention the colors look same when compared with the colors on LCD but on the LCD they look dull when compared with the simulation. Regards, Anuj

  • Colors issue on Hardware

    anuj.tanksali - - emWin related

    Post

    Hi, I am using a simulator for my application and porting the code to my Hardware on iMXRT1064. I see a difference in colors on my PC simulation application when compared to colors on the LCD with hardware. color mode is RGB 565 on both simulation and my hardware. Am using emwin version 5.50 on hardware. The colors on the hardware look dull compared to the simulation on PC. Does emwin have any setting to improve the colors on the hardware. Thanks Regards, Anuj

  • Font size issue

    anuj.tanksali - - emWin related

    Post

    Hello, How to i compare windows fonts sizes with fonts sizes generated from font converter. On windows for e.g. word application if i select century gothic 12. will it be same as selecting century gothic 12 pixel on font convertor. I am not sure as the font sizes appear different. So how do i select the correct font size in font convertor for any windows font size in Microsoft Word application. Thanks Regards, Anuj

  • Font Converter issue

    anuj.tanksali - - emWin related

    Post

    Hello, Thank you for your reply. But as the font is different in any case should it not generate different name file. suppose i have used one bold pt font and one regular font in my project with different pts. if the file names for both are same suppose then when i will generate the 2nd font as it has same name it will replace the first font file in my project which is not correct. If one does not keep a track then it is more likely that the font applied for widgets will be changed unknowingly. …

  • Font Converter issue

    anuj.tanksali - - emWin related

    Post

    Hello, I am using Font converter ver 5.48d. I generate the fonts by selecting using pt option instead of pixels. I have observed that when i select Century Gothic Regular font 9pt and 10pt, for both the file name generated is the same i.e. Century Gothic17.c. is this expected? . Visually the font seem different. For bold option and different pt size then also file generated is Century Gothic17.c. Thanks Regards, Anuj

  • Hello, I used the latest version 6.14 simulation and my same code worked fine without any issue. I am currently using 5.48 version. I observed the emwin memory usage by using GUI_ALLOC_GetMaxUsedBytes and in 6.14 version the usage bytes is almost double than in case of 5.48 version. Version 5.48 and 6.10 give me the same application crash issue with GUI_MEMDEV_BlendWinBk but issue is not present for 6.14 version. Is this an issue with 5.48 version not allocating enough memory? Thanks Regards, An…

  • Hello, Thanks for your reply. I cannot share the code but i debugged the issue and found that when i reduce the widgets from the widget resource table then the issue is not observed const GUI_WIDGET_CREATE_INFO ScreenWidgetTable[] = { \ \ { WINDOW_CreateIndirect, NULL,GUI_ID_WINDOW_0,0,0,0,0,0, 0, 0 }, { BUTTON_CreateIndirect, "CANCEL", GUI_ID_BUTTON_CANCEL,0,0,0,0,0, 0, 0 }, { BUTTON_CreateIndirect, "CONFIRM", GUI_ID_BUTTON_CONFIRM,0,0,0,0,0, 0, 0 }, //{ TEXT_CreateIndirect,"",GUI_ID_TEXT_VARIA…

  • Iconview spacing

    anuj.tanksali - - emWin related

    Post

    Hello, Thanks for your reply. Regards, Anuj

  • Iconview spacing

    anuj.tanksali - - emWin related

    Post

    Hello, I am using a iconview widget and it consists of 6 icons 3 on top row and 3 on bottom row. The width of iconview is around 550 pixels so i have to add spacing in between to align the icons to fit 3 on top and 3 on bottom to 550 pixels. When i press and release the area between the icons i receive the release event which i do not want. The iconview should give the event only if the icon area is clicked. how can this be achieved. Thanks Regards, Anuj

  • Hello, Thanks for the information. Regards, Anuj

  • Hello, Please let me know how can i proceed further to resolve the above issue. Regards, Anuj

  • Hello, I am facing a problem related to GUI_MEMDEV_BlendWinBk . I display 6-7 windows one after another in my application. Please see my flow below, 1) Display Window 1 - after some delay delete window 1 and display window 2 2) Display Window 2 - on button click delete window 2 and display window 3 3) Display Window 3 - on button click delete window 3 and display window 2 4) Display Window 2 - after some delay delete Window 2 and display window 4 5) Display Window 4 - on button click delete Wind…

  • Hi, I wanted to know exactly what GUI_NUMBYTES memory is used for. If i have multiple windows and respective widgets and i always have to increase the memory if any new window is added. Is there any way to avoid this? Thanks Regards, Anuj

  • Hello, Are there any limitations of using the window related functions show and hide in WM_PAINT message. Also can i get a list of functions which should not be called from WM_PAINT message. Thanks Regards, Anuj

  • Hello, I wanted to disable button pressed and unpressed effect. The pressed and unpressed effect which is visible when button is pressed and released. Is there a way to do this? Thanks Regards, Anuj

  • GIF image drawing

    anuj.tanksali - - emWin related

    Post

    Hi, Thanks for your reply. i am familiar with GIMP and the last option would be using individual c files but wanted to know if there is any emwin api to get the images from the GIF at runtime and use IMAGE_SetGIF(). it seems there is not. Thanks, Regards Anuj