Search Results
Search results 1-15 of 15.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Hi, In my project i want to use emwin calendar dialog the way we use calendar in windows. initially i am able to produce the calendar based on RTC time. i can traverse through the months using scroll buttons provided in the calendar header but the problem is when i want to go to different year such as 2 to 3 years back or forth we have to scroll a lot. is there any way to use the calendar the way we use windows calendar like when we click on the month the dialog contracts to all the months and w…
-
Hello, In my application i have set a JPEG image using "IMAGE_SetJPEG" on a window and also a Text widget (decimal value as text) on top of the JPEG image. I am periodically updating the Text widget in WM_TIMER and due to that i could observe that the text is flickering. As per emwin manual text widget has default transparency flag set and if i disable the transparency flag, flickering stops but the jpeg image is not visible. can anybody plz suggest me how to update a text widget over a jpeg ima…
-
Thanks for the reply Sven. GUI_JPEG_Draw() does really fail sometimes and returns 1 but there is no error code defined in emwin manual for this api. For example, when we are trying to overlay a jpeg on a button, we have registered a callback to the button where we call GUI_JPEG_Draw() in WM_PAINT events. Please refer the attachment shared by you earlier which we have used as reference to implement the same. We also keep observing the memory parameters using GUI_ALLOC_GetMemInfo() while we move b…
-
HI, We have used PIC32 with segger emwin. PIC32MZ2025DAG176 controller is having 256KB of RAM. when we are trying to draw jpeg images over abutton or image widget, sometimes its failing and image is not getting overlaid on the widget. we could see the free memory is below 33KB when these apis are not able to draw the image. we have allocated 170000 bytes for emwin lib. can you please suggest that this memory is enough for our requirement. we have 28 screens and images are saved in jpeg format in…
-
HI i would like to calibrate touchscreen having resolution of 800*480. Here the catch is doe to mechanical panel we are not going to utilize the whole screen so that 100 pixels will be deducted from both sides making x axis as LCD_xsize() - 200. to calibrate this how can i utilize the calibration functionality of emwin. thanks
-
emwin calendar
Posthello sven also i would like to know about the scroll buttons provided in calendar. as when i press the scroll buttons rarely it changes the months. how can i manually increment decrement months based on case WM_NOTIFICATION_SCROLL_CHANGED: where i need to identify which scroll button is pressed left or right one. thanks
-
emwin calendar
PostHello Sven, i am using stemwin5.40. is it related to the lib issue.?
-
emwin calendar
Posthi thanks i tried its getting deleted if i touch on the parent window but if i selecting any date in the calendar that time also its getting deleted. i would like to delete the calendar once the user click on parent window not when he is selecting any date in the calendar r doing right left scroll to change the month
-
emwin calendar
PostHi In my parent window when i click a button i open a calendar dialog. i would like to know once i click in someother part of parent window how the calendar dialog can be hidden like under which event i can handle this situation. i tried during WM_PAINT where i am keep checking whether calendar window is visible && has not captured touch && has focus i will disable but its happening once i create the calendar i want to handle this kind of feature when user touches any other place other than widg…
-
Hello, i followed the "26.4.2.1 Setting up the analog touch screen" section in emwin manual and made ready the GUI_TOUCH_X_ActivateX(), GUI_TOUCH_X_ActivateY() GUI_TOUCH_X_MeasureX(), GUI_TOUCH_X_MeasureY() functions. i am calling GUI_TOUCH_Exec() periodically in a timer. when i use TOUCH_Sample.c to findout the minimum and maximum values of the A/D converter while touching the cursor the cursor moves away to someother location. its pointing some other coordinates everytime i touch and not point…
-
Hello i am working with STEMWIN. i have LCD having TSC2003 touch driver. i went through the manual of "STEMWIN540 26.4.2.1 Setting up the analog touch screen driver" section where it talks about how to setup the driver. i am looking for sample code for these functions GUI_TOUCH_X_ActivateX(), GUI_TOUCH_X_ActivateY() GUI_TOUCH_X_MeasureX(), GUI_TOUCH_X_MeasureY(). i independently could test TSC2003 where using I2C i can get the ADC values. i would like to know how to implement these GUI_TOUCH_X_A…
-
flicker issue
Posthi, thanks for clarifying i will try that. although i have implemented the programline_event isr where it sets the next buffer address as per the pending buffer when multi buffering is enabled but still i observe more flickering compare to memory device.
-
flicker issue
Posthello Sven, Thankyou for replying back. i used memdevice and i could see minimal flickering but when i use multibuffering i observed more flicker compare to the previous one. can you please elaborate that for multibuffering do i have to enable both the layers 0 & 1 ?? also i would like to know how to utilize GUIDRV_LIN_32 & GUICC_M8888 in my present case coz when i use this driver the LCD not at all works only i could work in GUIDRV_LIN_16 & GUICC_M565. you can refer my LCDConfig poster earlier.…
-
flicker issue
PostHello, i am using STEMWIN on stm32f769bit6. i generated one dialog using GUIBuilder and created text, graph widgets etc on it. i am regularly updating the TEXT box in one of the task and calling GUI_Exec after that. i have enabled usage of memory device but still i could notice flicker. plz let me know whether i am using it properly??
-
Hello, I am using STM32F769BIT6 processor along with 7inch orient LCD 800*480. i am trying to port STEMWIN lib on it. since the LCD is interfaced in RGB, i am using lin driver. 1. i used GUIDRV_LIN_16 & GUICC_M565, i can draw pixel by pixel in 200*480 active region for layer0. I am also using FMC based external 256Mb SDRAM for Frame buffer. the problem is when i am increasing the X axis more than 200, the drawn image is shaking and i am not able to make out what is drawn, pixels are scattered. 2…