🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.pc
Article #68998

Re: Addressing individual serial port pins - possible?

#68998
From: Peter Disdale
Date: Wed, 17 Apr 1996 00:00
17 lines
1278 bytes
In article <83h1fBA1z5cxEwpu@pzoptic.demon.co.uk>
	   tim@pzoptic.demon.co.uk "Tim Carter" writes:

> what I would like to do is address individual serial port pins to run an
> external device from a c or pascal program.
> eg on program command "X" pin 1 will go high (?+5V) and on command "Y"
> pin 1 will go to ground.
> Is this possible and if so how? If not serial port pins then any other
> port?

It's fairly straightforward to control directly RTS and DTR (pins 4
and 20 on a standard 25-pin connection) and to monitor various RS232
input pins (DSR, CTS etc.) using an 'out()' and 'in()' function
respectively.  Please email me with a bit more info and I'll try to
help.
--
Pete
Technical Details
Message-ID: <829763015snz@pdlmail.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <83h1fBA1z5cxEwpu@pzoptic.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1036bc,6e54c45d9fbd1089
X-Google-Attributes: gid1036bc,public
From: Peter Disdale <Pete@pdlmail.demon.co.uk>
Subject: Re: Addressing individual serial port pins - possible?
Date: 1996/04/17
Message-ID: <829763015snz@pdlmail.demon.co.uk>
X-Deja-AN: 148021002
distribution: world
x-nntp-posting-host: pdlmail.demon.co.uk
references: <83h1fBA1z5cxEwpu@pzoptic.demon.co.uk>
x-mail2news-path: pdlmail.demon.co.uk
organization: Papa Delta Limited
reply-to: pete@pdlmail.demon.co.uk
newsgroups: demon.tech.pc