Description
I need to know what the best practice for implementing a frequently updated compass
indicator taking the form of a rotating disk with heading from 0 to 360 written around the
circumference.
What MCU/Processor/Board and compiler are you using?
I’m running on a Waveshare 2.8 in round display on an esp32-s3.
What LVGL version are you using?
Lvgl 8.2.0 is what is available on this board. I’m developting with idf 5.4 from Espressif on
a modern pop! distro.
What do you want to achieve?
I would like either an example that rotates an image continuously or a statement of
what components (such as an image from a .png rotated via a set_angle or transform_angle
call, with specific routines mentioned) should be assembled in what fashion.
What have you tried so far?
I have tried several of the animation examples and I can put a cogwheel image up but I
can’t animate its angle of rotation in real time. Calling
lv_style_set_transform_angle(&style, angle);
from within an anim callback has no effect.
Code to reproduce
I have no code running on a simulator as I’m developing on the devkitc board.
At this point I’m only asking for the basic best practice that would fit with what Lvgl supports
for a frequently updated directional gyro display.
Thanks very much,
fjen