关于捕获输入,我试着去用其他的引脚来实现,但是结果很奇怪!!

2019-10-14 20:34发布






关于捕获输入,我试着去用其他的引脚来实现,但是结果很奇怪!!
硬件上PA7和PA0直连,就改了红 {MOD}框出来的地方,其他没做任何改动,库函数版本的捕获输入实验,
但是输出的us值如图,很奇怪,求救!!!!
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
7条回答
381426068
1楼-- · 2019-10-15 02:16
串口不断输出:

HIGH:9 us
HIGH:9 us
HIGH:9 us
HIGH:9 us
HIGH:9 us
HIGH:9 us
HIGH:9 us
HIGH:9 us

HIGH:9 us
HIGH:9 us
HIGH:9 us
HIGH:9 us
HIGH:9 us
HIGH:9 us

HIGH:9 us
HIGH:9 us
HIGH:9 us
HIGH:9 us
HIGH:9 us
HIGH:9 us
HIGH:9 us
HIGH:8 us

HIGH:8 us
HIGH:9 us
HIGH:8 us
HIGH:8 us
HIGH:9 us
HIGH:8 us

HIGH:8 us
HIGH:9 us
HIGH:8 us
HIGH:8 us
HIGH:9 us
HIGH:8 us
HIGH:8 us
HIGH:9 us

HIGH:8 us
HIGH:8 us
HIGH:9 us
HIGH:8 us
HIGH:8 us
HIGH:9 us

HIGH:8 us
HIGH:8 us
HIGH:9 us
HIGH:8 us
HIGH:8 us
HIGH:9 us
HIGH:8 us
HIGH:8 us

HIGH:9 us
HIGH:8 us
HIGH:8 us
HIGH:9 us
HIGH:8 us
HIGH:8 us

HIGH:9 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us

HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us

HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us

HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us

HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us
HIGH:8 us

HIGH:8 us
HIGH:8 us
HIGH:7 us
HIGH:8 us
HIGH:7 us
HIGH:7 us

HIGH:8 us
HIGH:7 us
HIGH:7 us
HIGH:8 us
HIGH:7 us
HIGH:7 us
HIGH:8 us
HIGH:7 us

HIGH:7 us
HIGH:8 us
HIGH:7 us
HIGH:7 us
HIGH:8 us
HIGH:7 us

HIGH:7 us
HIGH:8 us
HIGH:7 us
HIGH:7 us
HIGH:8 us
HIGH:7 us
HIGH:7 us
HIGH:8 us
381426068
2楼-- · 2019-10-15 07:09
到底哪里错了???求助!!!!
wghfbj
3楼-- · 2019-10-15 10:26
 精彩回答 2  元偷偷看……
381426068
4楼-- · 2019-10-15 13:41
不需要重映射,看参考手册截图
381426068
5楼-- · 2019-10-15 18:32
其实AFIO都不需要开的
381426068
6楼-- · 2019-10-15 20:53
有问题的源代码

一周热门 更多>