*/ return 1; } int main(int argc, char const *argv[]) { // 1.打开LCD open int lcd_fd = open("/dev/fb0", O_RDWR); // 2.对LCD进行内存映射 mmap lcd_mp = (int *)mmap(NULL, 800 * 480 * 4, PROT_READ | PROT_WRITE, MAP_SHARED, lcd_fd, 0); // 3.显示一张jpg // ...