When developing UI using AppWizard, Where can the AppWizard API provide more detailed instructions, UM03001_emWin.pdf UM03003_AppWizard.pdf , Described a small portion of the API.
Posts by CF_238001
-
-
Thank you, the issue has been resolved. ALPHA error occurred when setting the color
-
ppWizard V154a_646a ,
C CODE
if(LD>50)APPW_SetVarData(ID_VAR_BAT_COLOR,GREEN); //0X07E0
else if(LD>20)APPW_SetVarData(ID_VAR_BAT_COLOR, GRED); //0XFFE0
else if(LD<=20)APPW_SetVarData(ID_VAR_BAT_COLOR,GRED); //0XFFE0
//PROGBAR0-26 , LD 0-100
APPW_SetVarData(ID_VAR_BAT_PROGBAR,LD/4+1);The actual running effect is displayed in black regardless of the variable value set;
Is the usage incorrect?