Set BackGround color during running (black & white mode)

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

  • Set BackGround color during running (black & white mode)

    Hi,
    I'm simulating a black and white LCD so with GUICC_1 configuration. I would like to simulate screen backlight and contrast, and i try to modify black and white color during running but noway.
    I try:
    • SIM_GUI_SetLCDColorWhite and SIM_GUI_SetLCDColorBlack
    • GUI_SetBkColor
    It seems that it works at initialisation, but not during running.
    Is there any possibility to modify colors in GUICC_1 configuration during running?
  • Hi mcharre,

    there is currently no function to simulate backlight in the emWin simulation. The functions SIM_GUI_SetLCDColorWhite() and SIM_GUI_SetLCDColorBlack() should be called from within the function SIM_X_Config() which is called once.

    Best regards,
    Adrian