Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!netnews.upenn.edu!newsserver.jvnc.net!news.cac.psu.edu!akh104.rh.psu.edu!heller From: heller@akh104.rh.psu.edu (Andrew K. Heller) Newsgroups: comp.os.386bsd.questions Subject: How to read from the COM port? Date: 12 Sep 1994 18:32:08 GMT Organization: Penn-State Ghoull Labs Lines: 19 Distribution: world Message-ID: <3526r8$12t1@hearst.cac.psu.edu> NNTP-Posting-Host: akh104.rh.psu.edu X-Newsreader: TIN [version 1.2 PL2] I want to hook up an electrical device to the parrallel port on my 486 machine. The device will toggle lines on the data line and I wish to be able to read them in using a programming language probably C of course. I also want to set certain lines for output. How is this done? It can't be as simple as say "read /dev/tty01" can it? Any help is appreciated..or directions on where to look for more help. -- Andrew K. Heller - Making the world safe once again. ------------------------------------------------------------------ Computer Engineering at The Pennsylvania State University "The drinking University with a football problem" heller@akh104.rh.psu.edu ------------------------------------------------------------------