- From: linutux loinux <linutux_1_at_hotmail.com>
- Date: Fri, 31 May 2002 16:54:24 +0000
>From: Ivan Martinez <imr_at_oersted.dtu.dk> >To: "linutux loinux" <linutux_1_at_hotmail.com>, comedi_at_stm.lbl.gov >Subject: Re: how can I configure 8255 chip? >Date: Fri, 31 May 2002 14:10:47 +0200 > >Ooops! Sorry, I misunderstood your question. >Documentation/comedi/drivers.txt >says: > >"The 8255 appears in Comedi as a single digital I/O subdevice with 24 >channels. The channel 0 corresponds to the 8255's port A, bit 0; channel >23 >corresponds to port C, bit 7. Direction configuration is done in blocks, >with channels 0-7, 8-15, 16-19, and 20-23 making up the 4 blocks. The only >8255 mode supported is mode 0." > >Then I guess you just have to see which comedi functions configure the >direction of digital channels, which I don't know now... >Ivan Martinez yes, I have seen drivers.txt, but my problem is that when I write comedi_dio_config (/dev/comedi0,0,0,COMEDI_OUTPUT) to configure the board, I see the next error: command not support _________________________________________________________________ Hable con sus amigos en línea, pruebe MSN Messenger: http://messenger.msn.es
Received on 2002-05-31Z15:54:24