CodeGrue
CodeGrue
Using FreeRTOS where the UI is being altered in a different thread than the LVGL refresh loop, what is the proper pattern to prevent this kind of conflict?
Take for example a screen that shows data from an api call. The main loop is calling lv_timer_handler() and another thread calls the API and then updates screen labels when...
@kisvegabor I don't see a lv_lock() function available anywhere in the LVGL code... I am using the Arduino framework / FreeRTOS.
Thank you. Wanted to share for FreeRTOS the code looks like this: ```C SemaphoreHandle_t xLVGLMutexHandle; TaskHandle_t tUIHandle; TaskHandle_t tLVGLHandle; xLVGLMutexHandle = xSemaphoreCreateMutex(); xTaskCreate(uiCallback, "tUIHandle", 3000, (void *)0, tskIDLE_PRIORITY, &tUIHandle); xTaskCreate(lvglCallback,...
Confirm I have the same behavior. State is read correctly (/plugin/filamentreload/status) but the printer never pauses. I'm thinking of trying the "ng" version to see if that works.
I switched to the NG version and it works perfectly.
Yea I wish these three would get together and just publish one that works better. The NG one doesn't seem to have the REST api to test it out, but...
My sensor has a 5v pin also since it has a light on it. Otherwise, I was getting the same behavior that it wouldn't start, but also wouldn't pause.
Thank you!
When will this fix be in the released espressif32 Arduino library? I am seeing 6.5.0 as the latest currently.