> What family of PICs are you working with?
>
> AFAIK, PORTA is usually associated with the ADC and
> is configured as
> an AD input on reset... so you need to check your AD
> registers and
> configure the PORTA to be a digital IO. At least
> that's it for the
> PIC16 family (which is the one i'm in touch
> with...)... Worth a look
> on the datasheet for your PIC to see if it applies
> to your model.
>
>
> --
> []´s
> Felipe Baldner
>
EraseMEfbaldnerspam_OUT
TakeThisOuTgmail.com
>
> On 7/30/07, ELKEJBOUT Mustapha
> <
elkejbout_mustapha
spam_OUTyahoo.fr> wrote:
> > hi list,
> > I am trying to use PORTA as input in vain, to put
> 0 or 1 on these pins doesn't work, I have used I
> pull up resistor for the portA pin.
> > Can anyone show me how to make an input mode work
> correctly?
> > thanks in advance
> >
> >
> > Mustapha ELKEJBOUT
> > ---------------------------------------
> > "Every one has to do what he can do according to
> how it can be truly done"
> > For whom the bell tolls, Ernest Hemingway.
> >
> > ---------------------------------
> > Ne gardez plus qu'une seule adresse mail ! Copiez
> vos mails vers Yahoo! Mail