I've read these two threads:
http://forums.netdui...rch__1#entry514
http://forums.netdui...rch__1#entry650
My basic question is: what does the netduino know about time, and how can I access it? I (think I) know there's no RTC (real time clock), but there is a RTT (real time timer) which is fine, but what ways to get access to accurate time? Can events be raised by timers?
Most of the samples I've seen deal with timing through thread.sleep.
Questions about time
Started by bill.french, Oct 22 2010 04:27 PM
3 replies to this topic
#1
Posted 22 October 2010 - 04:27 PM
#2
Posted 22 October 2010 - 05:07 PM
Hi Bill,
Check out System.Threading.Timer.
There used to be a Microsoft.SPOT.ExtendedTimer as well. Not sure if it still exists (or is needed) in .NET MF 4.1.
Chris
#3
Posted 22 October 2010 - 05:11 PM
Cool. Is your stopwatch sample still applicable? It uses Microsoft.SPOT.Hardware.Utility.GetMachineTime().
#4
Posted 22 October 2010 - 05:12 PM
Cool. Is your stopwatch sample still applicable? It uses Microsoft.SPOT.Hardware.Utility.GetMachineTime().
Yes. Here you go...
http://forums.netdui...topwatch-class/
Chris
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users