stm32f103c8t6实现按键按下几次,显示屏就输入几次的主函数代码
#include "stm32f10x.h" // Device header#include "bsp_led.h"#include "bsp_key.h"#include "OLED.h"int main(void){ LED_GPIO_Config(); //初始化LED函数 Key_GPIO_Config(); //初始化key函数 OLED_Init(); //初始化OLED函数 int count=.
原创
2022-04-20 13:41:38 ·
1901 阅读 ·
1 评论