10 years, 1 month ago.

How to program mbed ADC?

I have searched many sites for adc programming but I didn't get any information. I need to convert analog input voltage to digital. Can anybody tell me how to program adc in mbed compiler?

1 Answer

10 years, 1 month ago.

Have a look at the AnalogIn Handbook at https://mbed.org/handbook/AnalogIn
Make sure you keep the voltage you apply to an analog input within the supply voltage boundaries (0...3.3V).
If you want to use an external ADC, have a look at this page : https://mbed.org/components/cat/Other/