Hi Skimask. Thank you for concerning with my problem. Now I am working on a little project or the beginning of a big project. I will explain it shortly.
I am applying a sinusoidal signal with the offset voltage of 2,5 volts and an amplitude of 5 volts to PORTA.0 . Its frequency is 1khz. So, it varies between (0~5) volts. I want a digital output coming from PORTA.1 . But however, so far
I get 5V(DC) from PORTA.1 . By the way, I use 10 bit ADC and the converted
digital values I want to get serially every time when the conversion is over.
The detail is as follows: When the GO/DONE bit is set, the ADC starts. It gathers
the 10 bit sampled value and writes it into ADRESH(highest 2 bits) and ADRESL(least 8 bits). I did not use it. I used ADCIN 0,W0 which reads the values
from PORTA.0 and writes to W0. After that, if you look at the code you can see that I am trying to get those values with delay(PAUSEUS). I am using 18F2455
and could not find much relating A/D Conversion with it. Maybe you have some suggestions. Because you know it is nothing but the beginnig of the project
and you can not come over the problem. It makes me really crazy. I need working ADC.