Posted 21 June 2014 - 08:02 PM
Hi ScapeGoat,
There's no microsecond sleep function in NETMF, but you could approximate the # of microseconds by creating a loop that "does nothing".
One note of caution: the GC could kick in at any time, so exact microsecond sleep isn't something that we can guarantee from managed code.
We've thought about creating an "output compare" feature for NETMF that would output a sequence of low/high states in native code. Perhaps that's something that could help in this scenario (recognizing of course that I'm talking about a feature which doesn't exist right now).
Chris