• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

OLed display doesn’t work while into an event?

Q&A Forum › Category: ESP32 › OLed display doesn’t work while into an event?
0 Vote Up Vote Down
stefano zamprogno asked 5 years ago

Hello!
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…

Question Tags: MQTT, OLED
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi.
That is a weird behavior.
Unfortunately, I have no idea why that happens.
Maybe it has something to do with the onMQTTMessage event, but I don’t know how…
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.