encoder.tick(); // just call tick() to check the state. attachInterrupt(digitalPinToInterrupt(PIN_ENCODER_A), checkPosition, CHANGE); attachInterrupt ...
tv = lv_tabview_create(lv_scr_act(), LV_DIR_TOP, LV_DPI_DEF / 3); t1 = lv_tabview_add_tab(tv, "Selectors"); t2 = lv_tabview_add_tab(tv, "Text input"); static void ...