- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 linux任意位置显示bmp图片
/************************************************* 功能:封装一个任意位置显示任意大小的bmp 参数一:int 图片显示起始坐标x 参数二: int 图片显示起始坐标y 参数三: int 图片的宽 4字节整数倍 参数四: int 图片的高 4字节整数倍 参数五: char* 图片的路径 返回值:类型int 成功:0 失败:-1 **************************************************/ int show_sha
2020-06-29 00:27:22
1974
2
原创 linux使用lcd显示图片
project #include <stdio.h> #include "lcd.h" #define BMP_PATH "/mnt/hgfs/share/004/test.bmp" //图片绝对路径 int main(void) { int i; //LCD初始化 Lcd_Init(); Show_bmp(BMP_PATH, 0, 0); //LCD撤消 Lcd_UnInit(); return 0; } #include "lcd.h"
2020-06-28 15:07:24
3134
5
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人