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

Re: Data from a serial port



On Wed, Oct 01, 2014 at 03:20:06PM -0400, Dan Ritter wrote:
> 
> Well, one option would be to install minicom (apt-get will find
> it for you), set your default serial port to /dev/ttyS0, set it
> at 9600,7,e,1. Then plug it in and see if tapping W gets you
> a response.
> 
> /dev/ttyS0 will look just like a file, if you're writing a
> program, and you can read from it and write to it just like any
> other file.

I did mention the Coffee HOWTO, (it wasn't a Joke.) That has an
introduction to programming the serial port. I have no idea if it's
still relevant today.

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


Reply to: