Article View: comp.os.ms-windows.programmer
Article #13Re: Does anyone know how to switch individual serial port lines on/off ?
From: P.Bennett
Date: Wed, 01 Nov 1995 06:34
Date: Wed, 01 Nov 1995 06:34
24 lines
1669 bytes
1669 bytes
In article <476c4i$op9@news.dmpe.CSIRO.AU>, m.ballard@chem.csiro.au (Mat Ballard) writes... >hi there ! > >i'd appreciate any help or pointers on how to do the following. > >i need to switch an individual serial port line on and off: ie: >make pin #1 +5V, and pins #2 - #37 0V. The usual serial port connector is only 25 pins, and 9 pin connectors are not uncommon - are you _really_ referring to a serial port?? Pin 1 on a DB-25 is protective ground, you had better not be able to make it +5V! You will have no direct control of the serial data lines, pin 2 or 3. There are a few controllable pins, if you can write directly to the UART control register, but the levels will be either +12 or -12 - not 0 or +5. Peter Bennett VE7CEI | Vessels shall be deemed to be in sight Internet: bennett@triumf.ca | of one another only when one can be Packet: ve7cei@ve7kit.#vanc.bc.ca | observed visually from the other TRIUMF, Vancouver, B.C., Canada | ColRegs 3(k) GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
Technical Details
Message-ID:
<31OCT199522341928@erich.triumf.ca>Path:
arc1-ca.pugleaf.net!erich.triumf.ca!bennettReferences:
<476c4i$op9@news.dmpe.CSIRO.AU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!erich.triumf.ca!bennett From: bennett@erich.triumf.ca (P.Bennett) Newsgroups: comp.os.ms-windows.programmer,comp.lang.c,comp.lang.basic,comp.lang.basic.misc,comp.lang.basic.visual.misc Subject: Re: Does anyone know how to switch individual serial port lines on/off ? Date: 31 Oct 1995 22:34 PST Organization: TRIUMF: Tri-University Meson Facility Distribution: world Message-ID: <31OCT199522341928@erich.triumf.ca> References: <476c4i$op9@news.dmpe.CSIRO.AU> NNTP-Posting-Host: erich.triumf.ca News-Software: VAX/VMS VNEWS 1.41