标题:
STM32键盘调参的程序
[打印本页]
作者:
思雨若离
时间:
2017-7-31 15:42
标题:
STM32键盘调参的程序
分享一个键盘调参的程序,自己觉得很好用
#include "led.h"
#include "delay.h"
#include "key.h"
#include "sys.h"
#include "lcd.h"
#include "usart.h"
#include "path.h"
#include "setpath.h"
int main(void)
{
delay_init(); //延时函数初始化
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2); //设置NVIC中断分组2:2位抢占优先级,2位响应优先级
uart_init(115200); //串口初始化为115200
LED_Init(); //LED端口初始化
LCD_Init();
KEY_Init() ;
while(1)
……………………
…………限于本文篇幅 余下代码请从51黑下载附件…………
复制代码
所有资料51hei提供下载:
键盘调参.rar
(332.51 KB, 下载次数: 33)
2017-7-31 17:02 上传
点击文件名下载附件
下载积分: 黑币 -5
作者:
jxchen
时间:
2019-1-20 21:17
感恩~~~~~~~~~~~~~~~~~~
欢迎光临 (http://www.51hei.com/bbs/)
Powered by Discuz! X3.1