I have an image loaded via a C array on the TFT.
I have added a test function (Click Event Callback) to attempt to rotate the image 10 degrees every time the image is clicked. However, when I execute the function the image appears not to rotate, but get cropped to a thin vertical line.
Here is the code snippet I am using:
static void img1_event_cb(lv_obj_t * obj, lv_event_t event)
{
lv_img_set_angle(img1,100);
}
Thanks…