![]() I must use USB to parallel ports instead (cheap and direct from China, $5 each, shipping and taxes all included). The second problem is that my new computer doesn't have any parallel ports. ![]() I have searched the MSDN and found only mentions of the appropriate function but without some sample code, I'm lost (maybe I'm searching in the wrong places). Another person has pointed me to using Windows API. I have been pointed to using Inpout32 to do this, however the sample program compiled and ran properly but my attached hardware didn't respond. Since I'm using a modern computer with a modern OS, this presents a few problems.įirst of all, modern windows OS's don't allow direct access to parallel port pins, I must go through a driver. I want to know how to control the 8 data pins on a parallel port using C++, however there's a catch. I'm trying to use a parallel port from a computer as a form of cheap digital output to do various things (control motors, light LEDs, read limit switches, ect).
0 Comments
Leave a Reply. |