Re: read data from UART
- From: Sjouke Burry <burrynulnulfour@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 29 Nov 2007 01:52:52 +0100
Roman Mashak wrote:
Hello,Try a ringbuffer pack of mine with FIFO support.
I need to implement application [this is not a homework], reading data from standard serial port on PC and logging them to a file. Is there any classic way to do that? I heard ring buffer would be useful, are there any hints on this subject to read about?
Also, I believe it'd better to use threads - one to read data, another to write the log? Is it correct concept, ot not? I'd be glad to get some links to read.
Thanks.
With best regards, Roman Mashak. E-mail: mrv@xxxxxxxx
http://home.planet.nl/~burry004/COMPORT.ZIP
It can even be used under windows commandline, if you
use the pack in userport.zip to get port access. Link:
http://www.embeddedtronics.com/design&ideas.html
.
- References:
- read data from UART
- From: Roman Mashak
- read data from UART
- Prev by Date: Re: read data from UART
- Next by Date: read data from UART
- Previous by thread: Re: read data from UART
- Index(es):
Relevant Pages
|