Search Results

Search results 1-1 of 1.

  • AppWizard Set PROGBAR COLOR

    CF_238001 - - emWin related

    Post

    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?