Does the library support ESP32 RTOS tasks? #954
Answered
by
Bodmer
cdg123
asked this question in
Q&A - General
-
I am failry new to working with ESP32 and RTOS but aware having multiple tasks writing to the tft screen at once is a potential issue. At the moment I have it working ok but getting a corrupt screen at random times so wanted to check with you first if there was a best practice or example of how to manage this ? The library is working great apart from that thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
Bodmer
Jan 24, 2021
Replies: 1 comment 1 reply
-
The library is not thread safe. One user posted that it works when run as a single task, but this is not something I have tried so am unable to provide help. You may need to migrate away from Arduino TFT libraries to find a thread safe one. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Bodmer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The library is not thread safe. One user posted that it works when run as a single task, but this is not something I have tried so am unable to provide help. You may need to migrate away from Arduino TFT libraries to find a thread safe one.