Re: use of serial and parrallel port using C

From: Flash Gordon (spam_at_flash-gordon.me.uk)
Date: 08/19/04


Date: Thu, 19 Aug 2004 17:35:50 +0100

On Thu, 19 Aug 2004 16:51:06 +0100
"The Man With The Harmonica" <corlioni1976REMOVE@yahoo.co.uk> wrote:

> "Mark A. Odell" <odellmark@hotmail.com> wrote in message
> news:Xns95496D1A74290CopyrightMarkOdell@130.133.1.4...
> > "The Man With The Harmonica" <corlioni1976REMOVE@yahoo.co.uk> wrote
> > in news:cfvpon$dvf$1@rdel.co.uk:
> >
> > > What kind of commands can I use to control the serial and parallel
> > > port of my pc.
> >
> > None. ISO C doesn't have any commands nor does it know anything
> > about serial or parrallel ports. You'll need to ask this in a
> > newsgroup that programs for the platform you are using, e.g. DOS,
> > Linux, Win32, etc.
>
> I'm using an old Toshiba laptop with win95. I want to use the
> parallel port to control some circuits and to read the state of some
> control lines. Basically its going to be controlling a four wheeled
> buggy and I want to do this using C and through the parallel port.

So go and ask on a a group for you platform as Mark suggested. Standard
C does not provide you with any way to to what you want and this group
talks about standard C.

-- 
Flash Gordon
Sometimes I think shooting would be far too good for some people.
Although my email address says spam, it is real and I read it.


Relevant Pages

  • Re: DRO suggestions (computer input like via USB)
    ... scales and outputs one stream of signals to the parallel port? ... Quadrature outputs occupy two bits. ... encoders and will also permit some forms of machine control. ... controlling machines that require precision motion control. ...
    (rec.crafts.metalworking)
  • Re: Why GCC does warn me when I using gets() function for accessing file
    ... specification/programmer/language's control. ... standard suggests. ... the input, and as longstanding existing practice, ... needed for this reason. ...
    (comp.lang.c)
  • Re: Controling Holiday Lights
    ... You can build controllers using a solid-state relay ... controlled from a parallel port and switching a 120v circuit. ... The 3-15vdc control input means most PC parallel ports should be able to ... about as many lights as you would ever put on one circuit. ...
    (comp.home.automation)
  • Need help to use parallel port to control 8 digital potentiometers
    ... control 8 digital potentiometers through the parallel port. ... Each pot needs to have a serial clock in, control signal in, and serial ... to control the other two signals needed by each digital pot. ...
    (comp.lang.labview)
  • Re: real time linux
    ... >> nature this type of system is open loop. ... positional command generator in the control. ... > STEP is a standard so it is possible to have certain expectations ... outside of the STEP standard and the ability to edit and compile on the ...
    (alt.machines.cnc)