Hello everybody,
I'm still relatively new to the world of microcontroller programming and have a little problem with a "Heltec WiFi Kit 32" (an ESP32 with a built-in small OLED display):
I want to accept data transferred from an external device via UART from the ESP32, process it and then display it as a string on the display. (After that, they are then merged with other data and transmitted via MQTT, but that does not bother with the problem.) The merging and transmission runs in a separate thread on the second core.)
Both the reading in and the display presentation work well on U8x8lib.h and SoftwareSerial.h each. As soon as I combine both, neither of them will work anymore. I also tried to use the hardware-implemented serial interface 2 instead of SoftwareSerial (I had set up via GPIO 2 RX and 4 TX). That too is not possible. Somehow, the display and the serial interface seem to block each other. Does anyone have any idea why this is and possibly even a solution for it?
Thank you and best regards
Markus
ESP32: U8x8 and SoftwareSerial
-
- Posts: 9729
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32: U8x8 and SoftwareSerial
What do you mean by 'neither of them will work anymore', what are the symptoms? It also helps if you can post your code.
Also, moving this to the Arduino subforum, as your issue seems to have more to do with that API than with the actual hardware.
Also, moving this to the Arduino subforum, as your issue seems to have more to do with that API than with the actual hardware.
Who is online
Users browsing this forum: No registered users and 103 guests