github地址:https://github.com/SCUTwuwenbo/oneNET_2019/tree/master/key

相关接口:PA4~7(LED) PC0~3(KEY)
主要文件:除LED以外,Key_Init,Key_Scan
- 初始化KEY,打开KEY时钟
- 检测KEY,Toggle LED
Bug
- 无法实现松手检测
- 只能按照KEY1~4的顺序操作(Big trouble)
github地址:https://github.com/SCUTwuwenbo/oneNET_2019/tree/master/key
Bug
本文标题:led_key
本文链接:https://www.haomeiwen.com/subject/rlpwmctx.html
网友评论