会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
KING9
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
2018年4月9日
Error: L6218E
摘要: ..\OBJ\TPAD.axf: Error: L6218E: Undefined symbol TAPD_Scan (referred from main.o). Not enough inform TPAD中H文件没有定义TAPD_Scan(实际上定义了。只不过写错了函数。u8 TPAD_Sca
阅读全文
posted @ 2018-04-09 22:24 KING9
阅读(327)
评论(0)
推荐(0)
2018年4月8日
TPAD
摘要: #include "sys.h"#include "delay.h"#include "usart.h"#include "led.h"#include "tpad.h" int main(void){ u8 t=0; NVIC_PriorityGroupConfig(NVIC_PriorityGr
阅读全文
posted @ 2018-04-08 21:54 KING9
阅读(1301)
评论(0)
推荐(0)
2018年4月7日
输入捕获
摘要: #include "timer.h"#include "led.h"#include "usart.h" //TIM14 PWM部分初始化 //PWM输出初始化//arr:自动重装值//psc:时钟预分频数void TIM14_PWM_Init(u32 arr,u32 psc){ //此部分需手动修
阅读全文
posted @ 2018-04-07 22:43 KING9
阅读(606)
评论(0)
推荐(0)
2018年4月3日
TIM3定时器
摘要: #include "stm32f4xx.h"#include "sys.h"#include "delay.h"#include "usart.h"#include "led.h"#include "timer.h" int main(void){ NVIC_PriorityGroupConfig(
阅读全文
posted @ 2018-04-03 21:49 KING9
阅读(2372)
评论(0)
推荐(0)
2018年4月2日
WWDG
摘要: 1 #include "stm32f4xx.h" 2 #include "sys.h" 3 #include "delay.h" 4 #include "usart.h" 5 #include "led.h" 6 #include "key.h" 7 #include "wwdg.h" 8 10 int main(void){ 11 12 NVIC...
阅读全文
posted @ 2018-04-02 22:25 KING9
阅读(657)
评论(0)
推荐(0)
2018年3月31日
stm32独立看门狗时间设置
摘要: //prer:分频数:0~7(只有低 3 位有效!) rlr:自动重装载值,0~0XFFF.//分频因子=4*2^prer.但最大值只能是 256!//rlr:重装载寄存器值:低 11 位有效//时间计算(大概):Tout=((4*2^prer)*rlr)/32 (ms).void IWDG_Ini
阅读全文
posted @ 2018-03-31 21:12 KING9
阅读(1394)
评论(0)
推荐(0)
用keil编译提示 warning: #...: last line of file ends without a newline
摘要: 用keil编译提示 warning: ......: last line of file ends without a newline
阅读全文
posted @ 2018-03-31 20:19 KING9
阅读(552)
评论(0)
推荐(0)
expected an expression
摘要: “expected an expression”预定义一个表达式,解决办法在你所宏定义的语句后去掉分后“;”
阅读全文
posted @ 2018-03-31 19:49 KING9
阅读(2950)
评论(0)
推荐(0)
上一页
1
2
公告