Skip to content

Instantly share code, notes, and snippets.

View liamHowatt's full-sized avatar

Liam liamHowatt

  • LVGL
  • Ontario, Canada
  • 14:35 (UTC -04:00)
View GitHub Profile
@liamHowatt
liamHowatt / analog_clock.c
Created March 28, 2024 14:12
the new scale example ported to work with the current master from ---- feature(scale): mutiple line needles #5937
static lv_obj_t * scale;
static lv_obj_t * minute_hand;
static lv_obj_t * hour_hand;
static lv_point_precise_t minute_hand_points[2];
static lv_point_precise_t hour_hand_points[2];
static int32_t hour;
static int32_t minute;
static void timer_cb(lv_timer_t * timer)
{