- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 粤嵌GEC-6818
影音娱乐系统主界面主程序 main.c#include “head.h”int* p_lcd = NULL; // 屏幕映射内存的起始地址//显示开机动画void show_gif(){int i;char buf[25] = {0};for(i=0; i<35; i++){ sprintf(buf, “./gif_bmp/Frame%d.bmp”, i);printf("%s\n", buf);draw_bmp(buf, 0, 0);}}void *ts_fu
2021-11-16 17:36:26
5336
2
原创 常用注解回顾
1.1 @RequestBody与@ResponseBody//注意并不要求@RequestBody与@ResponseBody成对使用。public @ResponseBody AjaxResponse saveArticle(@RequestBody ArticleVO article)如上代码所示:@RequestBody修饰请求参数,注解用于接收HTTP的body,默认是使用JSON的格式@ResponseBody修饰返回值,注解用于在HTTP的body中携带响应数据,默认是使用JS
2021-10-18 09:55:15
243
原创 粤嵌gec6818开发板轮流显示颜色
粤嵌gec6818开发板轮流显示颜色#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);if(-1 ==
2021-09-10 13:49:07
4697
原创 粤嵌gec6818开发板自动切换图片
#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>#include <strings.h>#include <sys/mman.h>int show_bmp(char path){ char bmp_buf[8004803] = {0}; int lcd_buf[800480] =
2021-09-09 23:55:53
7642
4
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人