How to set the last button of this button matrix(official sample) is blue?

image

Did you take a look at the code underneath?

lv_btnmatrix_set_btn_ctrl(btnm1, 11, LV_BTNMATRIX_CTRL_CHECK_STATE);

1 Like