finish uart demo