I'm trying to read in an analog value (actually four of them), I believe that analog to digital conversion is the only way. I am reworking the code of the guy that worked on it before me, but i'm having trouble.
I believe i understand how to set up the conversion with the number of bits to use, clock speed, etc. but i'm having trouble decided which port to use. A snip of his code is:
read0[j] = ADC12MEM0;
read1[j] = ADC12MEM1;
read2[j] = ADC12MEM5;
read3[j] = ADC12MEM3;
when I read0[j] what pin in ADC12MEM0 connected to? I'm guessing one of p6.
i'm using msp430fg4618 development board
any help anyone can give would be very helpful
Thanks