Cypress技术论坛
直播中

崔璨

8年用户 214经验值
私信 关注
[问答]

如何在一个循环中得到delta时间?

你好,
我想弄清楚如何在一个循环中得到delta时间。如何做到这一点呢?我应该使用计时器吗?我试着用一个已知的时钟频率触发一个中断,但我认为我不得不中断很多次,有冲突吗?
基本7.cip
1.8 K

以上来自于百度翻译


     以下为原文
       Hello,
                    
     I’m trying to figure out how to get delta time in a loop. How can this be done? Should I use a timer? I tried to just have an interrupt fired with known clock frequency but think I have to many interrupts firing and there conflicting?


更多回帖

发帖
×
20
完善资料,
赚取积分