光电显示实训day1-粤嵌6818开发板轮流显示颜色
#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>int show_color(int r,int g,int b){ char buf[8004804] = {0}; int fd = open("/dev/fb0",O_RDWR); char A = 0; char R = r
原创
2022-05-30 17:00:01 ·
1611 阅读 ·
1 评论