Hi,
I've constructed a Win32 project combining embOS-SIM and emWin-SIM (from Keil). Much more practical development environment than trying to do everything on hardware. I will eventually port from embOS to Keil RTE (for license reasons).
Problem is I create a new child window yet it does not show if my while(1) loop uses OS_Delay() yet works if I use GUI_Delay(). Do I need to make sure to use GUI_Delay in all GUI tasks or should OS_Delay work? OS_Delay works for the example in the emWin manual (Hello World painted on back canvas, 3 threads running).
void MainTask(void) {
COMPLEXDIAL myDial = COMPLEXDIAL_Default;
myDial.hParent = WM_HBKWIN;
COMPLEXDIAL_Create(&myDial);
while (1) {
//OS_Delay(100); //<---- does not work
GUI_Delay(100); //<---- works
}
}
Thanks
Mark
I've constructed a Win32 project combining embOS-SIM and emWin-SIM (from Keil). Much more practical development environment than trying to do everything on hardware. I will eventually port from embOS to Keil RTE (for license reasons).
Problem is I create a new child window yet it does not show if my while(1) loop uses OS_Delay() yet works if I use GUI_Delay(). Do I need to make sure to use GUI_Delay in all GUI tasks or should OS_Delay work? OS_Delay works for the example in the emWin manual (Hello World painted on back canvas, 3 threads running).
void MainTask(void) {
COMPLEXDIAL myDial = COMPLEXDIAL_Default;
myDial.hParent = WM_HBKWIN;
COMPLEXDIAL_Create(&myDial);
while (1) {
//OS_Delay(100); //<---- does not work
GUI_Delay(100); //<---- works
}
}
Thanks
Mark