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