6596| 18
|
请问老师输入捕获的脉冲数量总是少于预期值,该怎么办啊! |
1金钱
最佳答案上个我用的工程给你,把你的在定时器中断里用printf打印的方式改到while里面查询了,不用printf,用usart_senddata,我做了两次实验,一次只发送捕获计数的高八位,一次只发送捕获计数的低八位。高低八位一起发送的话,需要的第一个usart_senddata后面加点延时,但这个延时会影响结果,所以做了两个实验,或者你可以直接操作串口的寄存器可能会好点
| ||
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
| ||
| ||
| ||
我是开源电子网www.openedv.com站长,有关站务问题请与我联系。
正点原子STM32开发板购买店铺:http://openedv.taobao.com 正点原子官方微信公众平台,点击这里关注“正点原子” |
||
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
| ||
| ||
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
| ||
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
| ||
|手机版|OpenEdv-开源电子网
( 粤ICP备12000418号-1 )
GMT+8, 2025-5-16 18:27
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网