Trying to run demo
No claim of expertise here, but I seem to be running into obvious issues. The libraries package in the demo download:
1 - Doesn't contain XT_DAC_Audio
2 - Has an empty folder for U8g2
3 - Doesn't contain MusicDefinitions.h (I assume this contains music, perhaps it should be in the code directory with SoundData.h?)
4 - Doesn't contain LVGL
I've worked through these except (3), but Arduino IDE 2.3.0 does not want to load a header file from a subdirectory in the library... demos/lv_demos.h and examples/lv_examples.h specifically. Is there a way to make that happen, please?
Comments
Hello @PGaert ,
May I kindly ask what's the module type of your screen and where did you download the demo code?
For (1), (3), the MusicDefinitions.h and SoundData.h are in the XT_DAC_Audio folder(see the attachment below)
For (2), you can download the attachment below
For (4), you need to copy the lv_examples.h and lv_demos.h in the examples and demo folder to the lvgl(or lvgl-3)/src directory. Please refer to https://docs.lvgl.io/master/integration/framework/arduino.html
It sounds like you're facing library setup challenges for the demo. Missing files like MusicDefinitions.h and issues with Arduino IDE loading headers from subdirectories can be resolved by checking the folder structure and ensuring libraries are correctly installed in the libraries directory. For further help and resources, you can explore 툰코주소.