sush
Member level 4
- Joined
- Aug 24, 2005
- Messages
- 78
- Helped
- 3
- Reputation
- 6
- Reaction score
- 2
- Trophy points
- 1,288
- Activity points
- 1,946
simple adc problem pic
hi
m trying to read two adcs together using PIC16F877A ( 6 adc inputs
have to be read at a time so i have taken adcon1 = 10001001) . but for
testing purpose only intitailly m giving +5v to AN0 and 0V to AN1 and
on display m getting 05 for AN0 and 0000 for AN1. if i give +5 v to
both the input pins of adc ...i get 1023 and 1023.
. please
help me out to find tHe error.
hi
m trying to read two adcs together using PIC16F877A ( 6 adc inputs
have to be read at a time so i have taken adcon1 = 10001001) . but for
testing purpose only intitailly m giving +5v to AN0 and 0V to AN1 and
on display m getting 05 for AN0 and 0000 for AN1. if i give +5 v to
both the input pins of adc ...i get 1023 and 1023.
. please
help me out to find tHe error.