摘要: 传说中的stm32 idle dma来做串口接收, stm32f405rg的uart1测了一下. 。 1.可能开机时, 如果rx一直是高,会置idle 为高,如要依次读取sr, dr来清掉, 以后只有当uart接收到一个正常的byte之后, 有一个持续一个byte的空闲高电平,就会触发idle中断 阅读全文
posted @ 2021-02-27 14:21 mbdkunkka 阅读(724) 评论(0) 推荐(0) 编辑
摘要: 主要参考ffmpeg 自带的decode_video.c 和 https://blog.csdn.net/leixiaohua1020/article/details/38868499 阅读全文
posted @ 2018-04-07 00:00 mbdkunkka 阅读(793) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <SDL.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> using namespace std; /* * Lesson 0 阅读全文
posted @ 2018-04-06 18:32 mbdkunkka 阅读(510) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <SDL.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> using namespace std; /* * Lesson 0 阅读全文
posted @ 2018-04-06 18:31 mbdkunkka 阅读(281) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <SDL.h> #include <windows.h> /* * Lesson 0: Test to make sure SDL is setup properly */ //#define LESSON_5 //#define LESSO 阅读全文
posted @ 2018-04-06 18:29 mbdkunkka 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 查看创建的数据库放在哪里show variables like "%datadir" 阅读全文
posted @ 2017-05-17 20:23 mbdkunkka 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 公共免费邮箱基本都不好用。基本都要加密的smtp地址。smtp的开通和密码要到网页邮箱中设置和获得。 阅读全文
posted @ 2017-02-10 21:31 mbdkunkka 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 笔记本的摄像头640*480 yuv422 g++ video0.c -std=c++0x -lSDL2 /usr/local/lib/libSDL2_image.a 阅读全文
posted @ 2016-10-16 16:39 mbdkunkka 阅读(1273) 评论(0) 推荐(0) 编辑