M5Stack Fire LCD Issues



  • Greetings,

    I have an M5Stack Fire. I have the ESP32 connected to OpenWeather API without issues. As soon as I attempt to do anything with the LCD, the code locks up. Here is the setup code:

    *void setup()
    {
    Serial.begin(115200);

    // Initialize the M5.
    M5.Power.begin();
    M5.begin();

    //M5.Lcd.setBrightness(100);

    // Initialize the WiFi.
    WiFi.begin(ssid, password);

    while (WiFi.status() != WL_CONNECTED)
    {
    delay(1000);
    Serial.println("Connecting to WiFi..");
    }

    Serial.println("Connected to the WiFi network");
    delay(10000);
    }*

    The line commented out is causing the issue. If I un-comment it, the ESP32 will freeze.

    Thoughts on what I'm doing wrong?

    Thank you!