Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #14623

Re: How i can get the pin state of a serial port ?

From William Unruh <unruh@invalid.ca>
Newsgroups comp.os.linux.misc
Subject Re: How i can get the pin state of a serial port ?
Date 2015-04-24 19:49 +0000
Organization A noiseless patient Spider
Message-ID <mhe6op$5gf$1@dont-email.me> (permalink)
References <6cae3f1e-3dbf-4ded-bd01-faf296788067@googlegroups.com> <87d22vub5t.fsf@usenet.ankman.de> <316b58ac-9289-4f8b-a6d3-0cebad958861@googlegroups.com> <87oamfh0li.fld@barrow.com> <mhe5mk$vvn$2@dont-email.me>

Show all headers | View raw


On 2015-04-24, T <T@invalid.invalid> wrote:
> On 04/22/2015 10:31 PM, Floyd L. Davidson wrote:
>
> ...code...
>
>
> Just out of curiosity, if I wanted to compile this up
> and test it, who would I do it?
>
>      ./configure; make depend; make; make install   ???

No. There is no Makefile, and this is not a kernel. 
Anyway.
gcc -o serial-pins filename.c
where filename.c is the name you gave to the program file. 
Then run
./serial-pins

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How i can get the pin state of a serial port ? Thiago Teodoro <thiagohero501@gmail.com> - 2015-04-22 12:42 -0700
  Re: How i can get the pin state of a serial port ? Andreas Kohlbach <apr15.7.ankman@spamgourmet.net> - 2015-04-22 17:05 -0400
    Re: How i can get the pin state of a serial port ? Thiago Teodoro <thiagohero501@gmail.com> - 2015-04-22 14:48 -0700
      Re: How i can get the pin state of a serial port ? floyd@apaflo.com (Floyd L. Davidson) - 2015-04-22 21:31 -0800
        Re: How i can get the pin state of a serial port ? T <T@invalid.invalid> - 2015-04-24 12:32 -0700
          Re: How i can get the pin state of a serial port ? William Unruh <unruh@invalid.ca> - 2015-04-24 19:49 +0000
          Re: How i can get the pin state of a serial port ? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2015-04-24 22:53 +0300
            Re: How i can get the pin state of a serial port ? T <T@invalid.invalid> - 2015-05-05 23:59 -0700

csiph-web