关于毫秒计时器 [英] About Millisecond Timer
本文介绍了关于毫秒计时器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我读了gpio并尝试测量它。
所以你需要一个正确时间的计时器。
至少10毫秒需要1毫秒的精确度。 />
然而,当我使用windows10 iot core为树莓派3创建一个uwp应用程序时,我无法使用这些计时器。
我想知道如何做到这一点。
I read gpio and try to measure it.
So you need a timer of the correct time.
At least 10 milliseconds requires accuracy of 1 millisecond.
However, when I created a uwp app for raspberry pie 3 using windows10 iot core, I could not use these timers.
I want to know how to do it.
推荐答案
您不太可能找到一个毫秒级的计时器,但是有一个很好的讨论,可以在这里使用带有RPi的实时计时器:
You are unlikely to find a one millisecond timer but there is a good discussion about using a real-time timer with RPi available here:
https://www.codeproject .com / Articles / 1113626 /添加缺失的实时时钟到Windows-IoT
这篇关于关于毫秒计时器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文