上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
摘要: RGB565转BMP #include <string.h> #include <stdlib.h> #include <stdio.h> #define BMP_W 120#define BMP_H 80 char bmp_map[] = { } #define BI_BITFIELDS 0x3 阅读全文
posted @ 2022-05-10 10:11 panda_w 阅读(760) 评论(1) 推荐(0)
摘要: RTC_GM1302 /* * @Description : LVGL * @Author : wangxy * @Date : 2022-04-14 * @LastEditTime: Today * @LastEditors : wangxy * @FilePath : ESP32/rtc.c * 阅读全文
posted @ 2022-04-16 09:26 panda_w 阅读(237) 评论(0) 推荐(0)
摘要: bmp_show_framebuffer bmp_show_framebuffer.c #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <string.h> #include 阅读全文
posted @ 2022-02-14 19:22 panda_w 阅读(70) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2022-01-20 20:17 panda_w 阅读(1) 评论(0) 推荐(0)
摘要: LVGL /* Display flushing */ void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p) { uint32_t temp_x, temp_y; for(temp_y= 阅读全文
posted @ 2022-01-06 15:56 panda_w 阅读(114) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2021-12-30 11:11 panda_w 阅读(0) 评论(0) 推荐(0)
摘要: ftp服务器的安装与配置 ubuntu 安装ftp服务器 1.安装 sudo apt-get install vsftpd 2.操作 sudo service vsftpd start sudo service vsftpd stop sudo service vsftpd restart 3.查看 阅读全文
posted @ 2021-05-14 09:33 panda_w 阅读(136) 评论(0) 推荐(0)
摘要: Linux timer 机制 1. setitimer()setitimer一个进程中只能有一个 下一个会覆盖前一个的定时 想一个进程多个定时器只能自己实现linux系统给每个进程提供了3个定时器,每个定时器在各自不同的域里面计数。当任何一个timer计数到结束了,系统就发送一个信号(signal) 阅读全文
posted @ 2021-05-11 15:37 panda_w 阅读(182) 评论(0) 推荐(0)
摘要: Timer 1.setitimer.c #include <stdio.h> #include <signal.h> #include <sys/time.h> #include <errno.h> #include <stdlib.h> struct itimerval timer; void T 阅读全文
posted @ 2021-05-11 15:32 panda_w 阅读(144) 评论(0) 推荐(0)
摘要: 信号通信 signal.c #include <unistd.h> #include <stdio.h> #include <signal.h> #include <string.h> #include <stdlib.h> void Time_Fun(int temp) { printf("Tim 阅读全文
posted @ 2021-05-11 15:23 panda_w 阅读(114) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页