-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
usage of LV_INDEV_POINT_MARKER throws compiler errors #49
Comments
Hi Ramon, I hope that is all. |
On Monday I can send you a .zip (like before) with the new version |
Here is the new version. lvgl_dev-5.0_arduino.zip Please follow the updates in your initialization.
#include <lvgl.h>
void my_disp_flush(int32_t x1, int32_t y1, int32_t x2, int32_t y2, const lv_color_t *color_array)
{
/*Write the coordinates like with disp map*/
lv_flush_ready();
}
void hal_init(void)
{
/*Initialize the display*/
lv_disp_drv_t disp_drv;
disp_drv.disp_flush = my_disp_flush;
lv_disp_drv_register(&disp_drv);
/*Initialize the graphics library's tick*/
/*In a Timer call lv_tick_inc(1) in every milliseconds*/
}
void setup() {
lv_init();
hal_init();
lv_obj_t *label = lv_label_create(lv_scr_act(), NULL);
lv_label_set_text(label, "Hello Arduino!");
lv_obj_align(label, NULL, LV_ALIGN_CENTER, 0, 0);
}
void loop() {
// put your main code here, to run repeatedly:
lv_task_handler();
//delay_ms(3);
} |
Fixed in v5.0.0 |
so i set the LV_INDEV_POINT_MARKER to 5 to see my presses(?) in the lvgl config file
buuuut.... my IDE throws compiling errors.
the complete error log:
The text was updated successfully, but these errors were encountered: