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.

ADC CC2540!

Hi all,

I am using the Heartrate sensor project to get data from an external sensor. I only have one ouput from the sensor and I am assuming I need to use only one channel on the ADC instead of all 8. However the HalAdcRead () function in hal_adc.c is made to read from 8 and I was wondering how I could change this function to do this task. Also how/where do I call HalAdcInit function assuming I will fix this problem?

Thank you all in advance