You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a multitask defined to push some work onto the 2nd core TaskHandle_t readingsTask;
but had the function void feedTheDog() still commented out.
I wrote/stole this code over a year ago and have forgotten why it is needed, but that was the cause.
SOLVED
Hi All,
Hope this is a simple thing...
I can compile and run the demo project no problems, works fine.
I have an old project that I set up with LVGL a long time ago which worked fine that had an old parallel interface style, I'm now trying to get it working on a ESP32-3248S035C using
this library.
The problem is that as soon as I un-comment smartdisplay_init(), lv_timer_handler() refuses to finish. I've got some serial writes either side of lv_timer_handler() but only the first one ever gets written to the terminal. If I comment out smartdisplay_init() then lv_timer_handler() and the serial writes blase away.
I've bypassed all my old code (I think), so it only creates 1 screen and trys to load it with lv_disp_load_scr(screenTest) but I just can't find what the difference is between my project and the sample project.
When compiling the demo project and my project the environment is exactly the same, same platformio.ini and lv_conf.h files.
I've attached the project here if anyone wants to take a look.
Thanks 😊
This is the last part that gets spat out in the logs when it hits the `lv_timer_handler()' line if anyone can make scene of it:
....end setup
start loop
[Trace] (3.126, +211) lv_timer_handler: begin (in lv_timer.c line #69)
[Trace] (3.126, +0) lv_timer_exec: calling timer callback: 0x400d396c (in lv_timer.c line #312)
[Trace] (3.128, +2) lv_indev_read_timer_cb: begin (in lv_indev.c line #66)
[Trace] (3.131, +3) _lv_indev_read: calling indev_read_cb (in lv_hal_indev.c line #185)
[ 3135][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3ffcf668, data:0x3ffb2208
[ 3140][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3ffb2330
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
SOLVED
For anyone that comes across this...
I had a multitask defined to push some work onto the 2nd core
TaskHandle_t readingsTask;
but had the function
void feedTheDog()
still commented out.I wrote/stole this code over a year ago and have forgotten why it is needed, but that was the cause.
SOLVED
Hi All,
Hope this is a simple thing...
I can compile and run the demo project no problems, works fine.
I have an old project that I set up with LVGL a long time ago which worked fine that had an old parallel interface style, I'm now trying to get it working on a ESP32-3248S035C using
this library.
The problem is that as soon as I un-comment
smartdisplay_init()
,lv_timer_handler()
refuses to finish. I've got some serial writes either side oflv_timer_handler()
but only the first one ever gets written to the terminal. If I comment outsmartdisplay_init()
thenlv_timer_handler()
and the serial writes blase away.I've bypassed all my old code (I think), so it only creates 1 screen and trys to load it with
lv_disp_load_scr(screenTest)
but I just can't find what the difference is between my project and the sample project.When compiling the demo project and my project the environment is exactly the same, same
platformio.ini
andlv_conf.h
files.I've attached the project here if anyone wants to take a look.
Thanks 😊
This is the last part that gets spat out in the logs when it hits the `lv_timer_handler()' line if anyone can make scene of it:
Test_Project.zip
Beta Was this translation helpful? Give feedback.
All reactions