pic adc .c
I am using (HI-TECH PICC Compiler version 8.01PL3)
Sorry guys it took me too long to reply. my PC got seriously bug by viruses,trojan. had to reformat.
about the coding.
i am really sorry and sad to say but i am new with the PIC coding functionalities.
one of my questions would also be that. how does the PIC understand the analog voltage ranges. for example. 0.5 v ~ 3.0 in 10 bits ADC in means 1024 varying information on each voltage. would it mean. at 0.5 the bit is 1, while 0.6 is around 20 i think just an example. as the voltage increase the bit value increases also? to the max of 1024? if so,to determine that i am at 1.0 volts the pic ADC would giv me a value around 200+ or so..... i am not sure... i need help(confused). and how to configure the PIC to use the ports as ADC... Can i use all 7 of the sensors in one PIC? to determine there ADC values? Thank you for your time in reading this. a appriciate it very much.