avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Help talking to serial port in Linux


From: David Smead
Subject: Re: [avr-gcc-list] Help talking to serial port in Linux
Date: Wed, 7 Nov 2001 23:14:54 -0800 (PST)

Christo,

Attached is a file that shows how I ported some DOS stuff to Linux.  It
was pulled from a few different sources, and hasn't been thrououghly
tested.

It seems to work, but there's a lot going on so you'll have to read the
include files and do a man on the functions that are called that are part
of the Linux libraries.  Then you have to get into the structures that
deal with operating modes.

There's probably an easier way, (there is, it's called Python).

-- 
Sincerely,

David Smead
http://www.amplepower.com.

On Wed, 7 Nov 2001, ChristoGeo wrote:

> Hi, I am looking for some examples of communications up/down through the
> serial port under linux.  I am trying to port my dos tools over to Linux
> and this is my biggest problem (serial comms).  I need to open the port at
> 115200 and also control dtr signal (my reset), etc.  Anyone have any places
> with examples?
>
> Thanks,
> Geo
>
>
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://avr.jpk.co.nz/mailman/listinfo/avr-gcc-list
>

Attachment: com_ports.zip
Description: Zip archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]