Challenging is one phrase. Impossible is another. I misread micro for
milli. IMO, microsecond resolution in ANY non-real-time OS is out of the
question. And, Windows CE certainly falls into this category. Since CF
doesn't have any real-time features, I suspect the solution either is simple
or impossible. Of course, if 900 microseconds really means about 900 (say,
plus or minus 200) then it is much easier.
Still, this question was posted in the CF area, so I don't think a
calibrated loop is of much utility (opinion). If Sleep (1) doesn't work,
then it is time to rethink the problem.
Dick
--
Richard Grier (Microsoft Visual Basic MVP)
See
www.hardandsoftware.net for contact information.
Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.