|
-
May 30th, 2001, 03:41 AM
#1
Thread Starter
New Member
Accurate timer function
Hi there! This is my firs post, so if there are any misshaps pls - don't be mad.
Q: In my App I have to drive a single Servo motor (Graupner C512). It should be connected on LPT port. The problem is that I don't have a clue how to do that. I thought about using Timer control but I've learned it tickes only in 55ms periods minimum (for that servo it should tick between 1 and 2ms in intervals of 0.1ms). I've been told to use timeGetTime API function or Sleep API function, but...don't know how!
The second thing is, I don't know how to send those ticks to LPT port (like LPT1, bit 0 or sometning).
I would really appreciate any suggestion or code.
Regards! Ales Zigon
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|