On Fri, Apr 26, 2002 at 09:48:22PM -0700, Bill Moseley wrote:
| I'm trying to get a program that reads serial data working. I'm looking
| for some debugging tips.
...
| BYTE readByte(int fi)
| {
| char buf[2];
| printf("About to read a byte\n");
| read (fi, buf, 1);
| print
I can see that chars are getting to the serial device, but
the program isn't reading data from /dev/ttyS0.
Thanks,
--
Bill Moseley
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> I'm trying to get a program that reads serial data working. I'm looking
> for some debugging tips.
>
> I've got an X10 mouse-remote (JR20 RF remote,and JR21A receiver). I was
> using it on a Windows machine to run winamp. Now I'm trying to get it
> to work with linux. It's a remote control f
I'm trying to get a program that reads serial data working. I'm looking
for some debugging tips.
I've got an X10 mouse-remote (JR20 RF remote,and JR21A receiver). I was
using it on a Windows machine to run winamp. Now I'm trying to get it
to work with linux. It's a remote control for controlli
4 matches
Mail list logo