m5Stack basic. Wrong colors.



  • Hi everybody. Please advise. I got two cores basic ones. I use Arduino IDE. If I load following code M5.Lcd.fillScreen(WHITE) I get black screen. I have similar issues with all of the other colors. I have this problem on both devices. There were no such issue on old core. Could someone suggest what to do in such case. Thanks.
    in addition I tested different hex codes of colors. Again 0x000000 gives me white screen and 0xeeeeee gives black. Is it possible to fix?



  • @borisu
    Please provide the code you upload



  • The code is simple
    #include <M5Stack.h>

    void setup() {

    M5.begin();

    // Lcd should display blue
    M5.Lcd.fillScreen(BLUE);
    }

    void loop(){

    }

    In this case the screen is something between yellow and green.



  • It works if add

    #include<M5Stack.h>

    void setup(){
    M5.begin();
    M5.Lcd.fillScreen(BLUE)
    M5.Lcd.invertDisplay(true)
    }

    void loop(){

    }


  • M5Stack

    hi , did your has upgrade your library version to latest. (m5stack lib version >= 0.2.8)