Computing.Net > Forums > Disk Operating System > com1 communication

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

com1 communication

Reply to Message Icon

Name: jjjjjj
Date: January 28, 2003 at 05:28:02 Pacific
OS: win98se
CPU/Ram: p2////335
Comment:

Hello I would like to know how can I write a program using dos or c language to enable motor movement vai com 1 ie what are the batch or exe files that I have to use to make it talk to com 1 please or give the internet sites that is useful in this sense thanks



Sponsored Link
Ads by Google

Response Number 1
Name: IVO
Date: January 29, 2003 at 01:33:45 Pacific
Reply:

Under DOS and Win 9X to send output to a COM port is not different than to write onto an ordinary file. So to copy a file, binary or text, to COM1 use the DOS command
Copy FileName COM1.
The same using any programming language. The standard ports may be treated as destination files.


0

Response Number 2
Name: elric
Date: January 29, 2003 at 02:20:59 Pacific
Reply:

G'day,

Just how do you intend to wire this up??
1)Do you have a serial link to a controller, which then controls the motor? ie proper RS232 connection.
2) Are you wiring directly to the com port?
If you are you will need to control the UART directly.

If you can, give us a better picture of what you are trying to do.
regards,
Elric



0

Response Number 3
Name: jjjjjj
Date: January 30, 2003 at 05:35:17 Pacific
Reply:

Hi again

Yes I intend to wire up directly to the motor .. So is there any chance of how to do that I know how to understand the connections and how to program if I am given some ideas of how to do it

Thanks


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: com1 communication

continued com1 communication www.computing.net/answers/dos/continued-com1-communication/12591.html

communication buffer overflow error www.computing.net/answers/dos/communication-buffer-overflow-error/15882.html

com1>com4 redirection in dos www.computing.net/answers/dos/com1com4-redirection-in-dos/11281.html