会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Chilkings's Blog
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2020年9月5日
stm32串口定长DMA接收 + 数据错位纠正
摘要: 串口dma接收配置 使用的芯片为stm32F407 接收串口为串口六 __IO uint8_t Rx_data[12]={0}; //dma数据存放数组 void Initial_UART6(unsigned long baudrate) { GPIO_InitTypeDef GPIO_InitSt
阅读全文
posted @ 2020-09-05 09:46 chilkings
阅读(3276)
评论(0)
推荐(0)
2020年7月24日
STM32CubeMX配置DMA中 Data Width 的选择
摘要: 位(bit) 比特是计算机的最小信息单位。只能存储0和1。 字节(byte) 一个字节就是八位。 字(word) 处理器处理数据的自然大小(寄存器大小)。 今天遇到的最常见的字长为8、16、32和64位,但其他大小也是可能的。 例如,有一些36位机器,甚至12位机器。 结论 stm32是32位处理器
阅读全文
posted @ 2020-07-24 17:45 chilkings
阅读(3251)
评论(0)
推荐(0)
2020年7月23日
stm32-HAL库串口收发
摘要: 串口发送 重写fputc函数 /* 优点 直接使用printf函数,发送数据长度无限制,不需要额外的数组空间 缺点 只能对应一个串口,暂时没想到解决方案 */ //头文件中要包含 stdio.h 然后就可以正常使用printf了 int fputc(int ch ,FILE *F) { HAL_UA
阅读全文
posted @ 2020-07-23 17:37 chilkings
阅读(3127)
评论(0)
推荐(0)
2020年6月26日
nmap加快扫描速度(转载)
摘要: 实测有效 nmap -sS -Pn -p 80 -n --open --min-hostgroup 1024 --min-parallelism 10 --host-timeout 30 -T4 -v -oG results-all.txt -iL ipduan.txt 各参数的含义 -sS:使用S
阅读全文
posted @ 2020-06-26 21:58 chilkings
阅读(7239)
评论(0)
推荐(0)
2020年6月19日
deepin换源
摘要: python的pip源 pip install pip -U pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple apt的源 修改 /apt/etc/sources.list 里的网址 https://mi
阅读全文
posted @ 2020-06-19 18:02 chilkings
阅读(1203)
评论(0)
推荐(0)
2020年6月17日
利用74HC595实现的流水灯 Arduino
摘要: int big = 2; int push = 3; int datain = 4; void setup() { Serial.begin(9600); pinMode(big, OUTPUT); pinMode(push, OUTPUT); pinMode(datain, OUTPUT); }
阅读全文
posted @ 2020-06-17 01:17 chilkings
阅读(1349)
评论(0)
推荐(0)
2020年6月16日
解决用vscode开发arduino时Serial未定义
摘要: 在工作目录编辑c_cpp_properties.json文件 添加defines字段 { "configurations": [ { "name": "Win32", "includePath": [ "D:\\Program Files (x86)\\Arduino\\tools\\**", "D
阅读全文
posted @ 2020-06-16 23:21 chilkings
阅读(1871)
评论(0)
推荐(0)
2020年4月1日
JS获取格式为YYYY-MM-DD的当前日期
摘要: JS获取格式为YYYY MM DD的当前日期
阅读全文
posted @ 2020-04-01 17:16 chilkings
阅读(3468)
评论(0)
推荐(0)
2019年12月15日
链式前向星存图
摘要: 链式前向星存图
阅读全文
posted @ 2019-12-15 15:26 chilkings
阅读(304)
评论(0)
推荐(0)
2019年12月10日
网络流(EK算法)
摘要: poj1273
阅读全文
posted @ 2019-12-10 19:49 chilkings
阅读(249)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告