I’m reading the ESP32 course and i have tryied to change the display to use my oled instead of the 2 line proposed on the article (“MQTT Project – MQTT Client ESP32 #2”), but, as you can see here: Code sample if i run this code the display print garbage while if i put the function call testdrawstyles(); on the loop cicle, it work as espected.
Someone know why? Maybe it have to do with the code that run into the onMqttMessage event? (Why?)
sorry but i’m a newbe…