diff --git a/main/display_gui.c b/main/display_gui.c --- a/main/display_gui.c +++ b/main/display_gui.c @@ -41,13 +41,23 @@ void display_gui_homescreen(void) display_lock(0); label = lv_label_create(lv_scr_act()); - lv_label_set_text(label, "Yup"); + lv_label_set_text(label, "Boot Complete"); // lv_obj_align_to(label, lv_scr_act(), LV_ALIGN_OUT_BOTTOM_MID, 0, 10); + // 14 + // 20 + // 24 + // 28 + // montserrat + + + // lv_obj_set_style_local_text_font(label, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_FONT_MONTSERRAT_28); + lv_obj_set_style_text_font(label, &lv_font_montserrat_28, LV_PART_MAIN| LV_STATE_DEFAULT); + // display_slider(); //Call one at a time to see examples - display_meter(); + //display_meter(); // display_image(); // display_window(); //display_dropdown(); @@ -56,6 +66,24 @@ void display_gui_homescreen(void) } +// TODO: make a display task that listens for messages from a queue that change visual elements +uint32_t value = 0; +void display_gui_process(void) +{ + + display_lock(0); + + //set_value(meter_indic1, value); + + //value = (value + 1) % 100; + + display_unlock(); + +} + + + + @@ -236,23 +264,6 @@ void display_update_text(char* str) -// make a display task that listens for messages from a queue that change visual elements -uint32_t value = 0; - -void display_gui_process(void) -{ - - display_lock(0); - - set_value(meter_indic1, value); - - value = (value + 1) % 100; - - display_unlock(); - -} - -