Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Programing Com Port In Linux

Status
Not open for further replies.

Bosah

MIS
Feb 9, 2001
39
CA
Hi,

I have a little relay board connected to the serial port of a computer on our network. I would like to have that computer run Linux and program it to close the relay for a second at a scripted time.

It's time sensitive so I want to run the computer in Linux to take advantage of its stability. I have C programming examples _for Windows_ so I'm wonderring.

1: Can I use the C example through the GCC?

2: Does anyone know a super basic Linux program that will send basic stuff to the linux equivalent of com1?

I suspect someone can save me a lot of work and false starts out there.

thank you in advance.

Bo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top