ui4linux is easily interface for printing chinese and picture based on linux framebuffer.
./libcompile.shwill productliblcd.so../compile_test_case.shwill productpicture_showandchinese_show.
-
chinese show
int main(int argc, char **argv) { struct ft f; ft_init(&f); print_chinese(&f, "测试汉字", 60, 130); sleep(10); lcd_clear(&f); print_ascii(&f, "test alphabet and number", 60, 130); fb_close(&f); return 0; } -
picture show
picture_write(x_millimeter, y_millimeter, path_of_picture);
All copyrights are held by lapsule INC.
Written by Jim Yang.