Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2000 14:30:37 +0200
From:      Alexander Maret <maret@atrada.net>
To:        "'freebsd-hackers@freebsd.org'" <freebsd-hackers@freebsd.org>
Subject:   How to sense DCD on serial port?
Message-ID:  <58A002A02C5ED311812E0050044517F00D2608@erlangen01.atrada.de>

next in thread | raw e-mail | index | archive | help
Hello,

I just assembled a mini IR receiver for the serial Port.
This device shows the IR-code by pulling DCD up or down.
As there is no software for FreeBSD supporting IR I would
like to have a try and code it myself. Unfortunately those
Pulses sent by the IR device sometimes only last a few
milliseconds. Now my question:

How can I sense the state of the DCD line that quick? I
can meassure the overal time with gettimeofday() but how
can I sense DCD?

Alex



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58A002A02C5ED311812E0050044517F00D2608>