delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Fri, 6 Apr 2001 14:38:31 -0700 |
From: | Enoch Wu <enochw AT scn DOT org> |
To: | cygwin AT sources DOT redhat DOT com |
Subject: | Re: serial communications |
Message-ID: | <20010406143831.A3993313@MELON> |
Reply-To: | Enoch Wu <enochw AT scn DOT org> |
Mail-Followup-To: | Enoch Wu <enochw AT scn DOT org>, cygwin AT sources DOT redhat DOT com |
References: | <Pine DOT 4 DOT 10 DOT 10104061219090 DOT 859-100000 AT lab3-7 DOT eng DOT utah DOT edu> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.2.5i |
In-Reply-To: | <Pine.4.10.10104061219090.859-100000@lab3-7.eng.utah.edu>; from bergstro@eng.utah.edu on Fri, Apr 06, 2001 at 12:22:36PM -0600 |
X-Mailer: | Mutt 1.2.5i <http://www.mutt.org> |
X-Operating-System: | CYGWIN_98-4.10 1.1.8(0.34/3/2) i586<http://www.cygwin.com> |
X-Sender: | ewu AT eskimo DOT com |
Hi,, On Fri, Apr 06, 2001 at 12:22:36PM -0600, James Bergstrom wrote: > I am very new at using cygwin. I just need to know how to do IO through a > serial port. I have a driver written in C for Unix to control a device > through the serial port, and now we are going to use it on a win98 machine > using cygwin. Perhaps there is an example somewhere of writing bits to a > serial port? Perhaps there is. Can you really send bits at a time? I don't think so. The PC serial port is byte oriented. You can send a byte with some bits masked off. The serial port uses start and stop bits to synchronize. I'd be curious to know what devices can receive bits less than an 8 bit byte. EW > > Thank you very much, > I have been struggling with this for hours now. > > James Bergstrom > University of Utah > El En / Cp Sc / Cp En > > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple > > -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |