--- stan <[EMAIL PROTECTED]> wrote:
> Date: Sun, 3 Sep 2006 16:49:51 -0400 > From: stan <[EMAIL PROTECTED]> > To: backyard <[EMAIL PROTECTED]> > Subject: Re: A question about programming RS-232 > > On Sun, Sep 03, 2006 at 01:39:00PM -0700, backyard > wrote: > > > > > > --- stan <[EMAIL PROTECTED]> wrote: > > > > > On Sun, Sep 03, 2006 at 11:26:04PM +0600, ?????? > > > ????? wrote: > > > > Hello. > > > > I have a question I can't deal myself. > > > > And nobody can help me in resolving my > problem. > > > > > > > > Problem: > > > > I have a hand-made device, I want to control > from > > > FreeBSD 6.1 > > > > (I am porting this application from Windows > > > equivalent). > > > > But I don't know, in what device /dev/ I > should > > > write to get reults. > > > > I tryed to write bytes into /dev/ttyd0, > > > /dev/cuad0, but got nothing. :( > > > > > > > Start off by using minicom (or cu) to talk to > the > > > device. By doing > > > this you can sort through baud > rate/parity,hardware > > > issues. > > > > > > Once you have that working, then move on to > code. > > > > > > -- > > > Unix is very simple, but it takes a genius to > > > understand the simplicity. > > > (Dennis Ritchie) > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > > > "[EMAIL PROTECTED]" > > > > > > > does your handmade device use RS-232? If its PIC > or > > some such microcontroller based they claim to be > > RS-232 compliant but they do not always use +12V > and > > -12V levels. MAX-232 chips can correct this. I > assume > > if it worked in windows for you this might not the > > case, but you never know. > > I'm not the orignal poster on this. > > -- > Unix is very simple, but it takes a genius to > understand the simplicity. > (Dennis Ritchie) > oops must have clicked a little too quick on this one -brian _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"