delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/25/08:32:35

From: Guido Gonzato <guido DOT g AT iol DOT it>
Newsgroups: comp.os.msdos.djgpp
Subject: Serial port access
Date: Sun, 25 May 1997 12:45:46 +0200
Organization: Italia Online
Lines: 19
Message-ID: <3388185A.7B09D3E3@iol.it>
NNTP-Posting-Host: 195.45.18.56
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello,

I want to rewrite in C a program I wrote in gwbasic for controlling a
digital oscilloscope.

I need to know how to access the serial port(s). I only have to read a
stream of bytes from COM1:, filter out the junk, and write the data to a
file.

Can anyone send me a snippet of code?

Thank you,
	Guido =8-)

--------------------------------------------------------------
Guido Gonzato              | Dipartimento di Fisica, Settore di
Geofisica,
guido AT ibogfs DOT df DOT unibo DOT it   | Universita' di Bologna.
guido DOT g AT iol DOT it             | Tel. +39-51-6305001; Fax +39-51-6305058

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019