I’m new to LVGL and started trying the demos. For everyone I got back
“Compilation error: …/lv_examples.h: No such file or directory”.
I’m using an Arduino Giga and Display shield.
Can someone help me find this library?
Thanks
DaveK
Here’s the first demo code
“”“”#include “…/lv_examples.h”
#if LV_BUILD_EXAMPLES && LV_USE_LABEL
/**
-
Basic example to create a “Hello world” label
*/
void lv_example_get_started_1(void)
{
/Change the active screen’s background color/
lv_obj_set_style_bg_color(lv_screen_active(), lv_color_hex(0x003a57), LV_PART_MAIN);/Create a white label, set its text and align it to the center/
lv_obj_t * label = lv_label_create(lv_screen_active());
lv_label_set_text(label, “Hello world”);
lv_obj_set_style_text_color(lv_screen_active(), lv_color_hex(0xffffff), LV_PART_MAIN);
lv_obj_align(label, LV_ALIGN_CENTER, 0, 0);
}
#endif"“”"