This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

accessing adc values

i have to get the digital values from the adcresult0 and convert it into the decimal value and store in in a variable of double data type...how do i do this?