Click here to Skip to main content
15,844,155 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
I am an intermediate programmer using C++. I currently have a program to control a stepper motor through a parallel port, but the laptop that I wish to execute my code on only has a serial port.

I am guessing you cannot just buy an adapter for serial->parallel and run the code that way?

I have heard that the handshaking lines of the serial port could be a good option, but have not figured out how to access them in the coding.

Thank you very much for your help,

Share this answer
Member 7986660 9-Jun-11 9:43am    
So if I am using this:


to move my motor one step, I will not need to change it by just using the adapter? I'm guessing there is/are other drivers that would need to be installed as well.

if all you want is V+ and you're using Windows, have a look at using the DTR line thru EscapeCommFunction[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900