7 years, 5 months ago.

How to use the ADC on xDot?

Hi guys,

I am new beginner with xDot. I hav design a hardware with xDot and trying to use GPIO 0 as my ADC input to monitor the batteries' voltage. But I don't know how to make it. Can anyone help/ tell how to do it with the mbed online compiler please? and how this work. I have check AnalogIn.h for aa bit detail. But I still have some doubt. my battery has max 3.6V...... Thanks or help

Be the first to answer this question.