Search Results

Search results 1-18 of 18.

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

  • HW_TIMER issue

    vard - - emWin related

    Post

    Hi, The problem was solved by moving out internal emWin timer handling function's job to operating system. So now invalidate window function is called outdise from library every second. I think is also could be a good idea to attach this job to hardware timer if possible. Anyway I want to know, what is the reason of issue and how to solve it inside the emWin library. Regards, Anton

  • HW_TIMER issue

    vard - - emWin related

    Post

    Hi, I have a emWin based simple project: display some fluctuating information from internal data structure with updating the screen every second. It is multitasking system with several interrupts etc. I have single window with linked callback function. Everything works fine but in some moment image stucks(image isn't repainted), the device continue working and after some time the image starts to be repainted again. And this situation repeats in cycles. I checked MsgId sequence received by window…

  • UTF8 and Cyrillic set

    vard - - emWin related

    Post

    Hello, I need to display cyrillic text on my device driving emWin. I've used windows-1251 encoding and fonts created by Font Converter from emWin tools to solve this issue. But now I want to change my encoding to UTF-8. I've tried GUI_UC_SetEncodeUTF8(), but russian(cyrillic) symbols weren't shown. Also I m unable to create properly font by Font Converter. Is it possible to create font in font converter which using UTF-8 to encode? Best regards, Anton

  • The problem was solved by using tripple buffering and switching off memory devices support.

  • Hello, I'm trying port my project from NXP LPC1788 to new LPC4088. Its a quite simply operation but I faced a problem. Program is crashing on function GUI_DEVICE_CreateAndLink in LCD_X_Config from LCDConf.c. Looks like it is crashing in some loop. DISPLAY_DRIVER is GUIDRV_Lin_32_API COLOR_CONVESRION is GUICC_888 And I m using trile buffering, so NUM_BUFFERS is 3 Emwin buffer is set to 10 MB. Display size 800*480. C Source Code (5 lines) Have you got any ideas about reason of my problem? Thanks. …

  • Drawing ditmap on button

    vard - - emWin related

    Post

    Hello, Is there any way to load custom BMP image via ethernet for example, without using BMP-converter and display it on button, using BUTTON_SetBitmap() function? Or display it as emWin's iconview icon? How can I convert raw BMP file to emWin GUI_BITMAP? Best regards Anton

  • Hello, Adrian I'm going to make a demonstration problem sample for you, but It will take a time. Until I do it, here is photos, illustrating the problem. Sorry for quality. 1st photo - menu 2nd and 3rd photo - when user enters in this menu and it drawns step by step, line by line. It drawns too fast, but not instant. It was really hard to catch this moment with phone camera. As I said, this problem doesn't occurs when memdev is switched off. But I want to use memdev to avoid flickering. 1. [img]…

  • Hello, I have a menu with several windows which is created using windows manager. Also I've configured memdev and double buffering. When I switch between menu. When new menu or submenu opening, I see how it is drawing window line by line, it is performed too fast (0.5 sec for 800x480 whole display) but it makes representing bad. Its like a horizontal line goes through the display from top to the bottom and draws a frame. There are no same problem if Memory device is switched off, but there is fl…

  • Hello Adrian, Thank you for idea with invalidating area, it's really great! Best regards, Anton

  • Hello venkat, I suggest this part of code is a original calibration from sample you used in your work C Source Code (24 lines) Replace it with you calibration procedure, from the end of code part, you've shown. And please, check all the parameters of called functions. I suggest your display has size 800x480.Try this. C Source Code (1 line) Best regards Anton

  • Hello, I have a dialog created with GUI_CreateDialogBox(), I want to add my custom graphic objects - bmp images, digital clocks to this windows. I've added a custom handler for dialog callback (on receiving WM_PAINT message). But how to invalidate window? I've created a timer for this goal, set it to 1 second (1 second is okay for me) and set window be invalidated by timer's event (WM_TIMER message). Is it a good choice? Best regards Anton

  • Hello, venkat Check if you call function GUI_TOUCH_Calibrate() during initialization in _InitController() (it is in LCDConf.c). Check if you call this function with your defined macros TOUCH_BOARD_800_480_AD_LEFT and other, not with standart macro TOUCH_AD_LEFT and others,. Also check other parameters of this function. Best regards Anton

  • Hello, venkat You should measure this values for your own display (because they are different for different usually), not take them from example. Best regards Anton

  • Window Manager. Flickering.

    vard - - emWin related

    Post

    Hello Adrian, There are 10 MB of memory, I think it's too much.. ) Anyway, I've tried allocate additional memory and it didn't help =( Best regards, Anton

  • Window Manager. Flickering.

    vard - - emWin related

    Post

    Hello, On my device I have main menu, created using ICONVIEW widget, and several submenus as shown at photo. Jump to selected submenu from main menu executed by clicking on ICONVEW icons. Jump to main menu from submenus executing using buttons implemented in submenu. Just "Back" button. Those buttons are flicking very strong, it's very annoying and unpleasant for eyesight. I've tried to implement memory devices and using memory device really helps solving this problem. But during traveling to di…

  • Hello, venkat I suppose you should measure voltage on your ADC(2 channeles for x and y coordinate) touching your screen on it's borders. In my calibration operation user should touch his screen in left top and right bottom corner to perform calibration. Then you should configure several defines in LCDConf.c using received voltage values. In my project it seems like this: C Source Code (4 lines) Every LCD has his own characteristics, so you need to perform this action for every new display. The g…

  • Hello, Adrian I've sent those files on email, you said. There is some customizations from original files, hope code comments would be useful. Thanks.

  • Hello, I have a problem drawing animated GIF using GUI_GIF_DrawSub(). I'm loading GIF file via Ethernet to device and store it in Nand-flash + file system (UFFS). Then I load whole animated GIF file from NAND to buffer in SDRAM and try to show it using GUI_GIF_DrawSub(): C Source Code (16 lines) In fact, animation is really displayed, but often with huge distortion on it (example is in the end of topic). All buffers for LCD and emWin are placed in SDRAM, SDRAM and NANd-flash drived via EMC, devi…