Re: Read digital port

On Tue, Apr 05, 2005 at 10:21:34AM +0200, Miguel wrote:
> Hi
> 
> I'm writing a program reads values of digital port. I
> have test two reading forms:
> - comedi_dio_read
> - comedi_dio_bitfield
> 
> I get '1' always. On comedi_dio_bittfield the value is
> 16777215 (24 channels sets to 1). Value hasn't change
> any time.
> 
> Any suggestion?

Did you use comedi_dio_config() to setup the digital ports to be used as
inputs ?

-- 
Daniel Nilsson

Received on 2005-04-06Z00:21:57