10 years, 1 month ago.

Adc.h Header file

Hello, I have written code for a simple guitar tuner (frequency counter) using the LPC1768 dev board. When trying to compile the code in the online compiler, I keep getting an error that adc.h header file ca not be found. The exact error says "Cannot open source input file adc.h: No such file directory "#include adc.h". Does anyone know how to fix this? Please any help would be much appreciated.

Hello Brandon Snell,

I don't recall there's any adc.h file in the mbed library. Where did you find the header ? When there's an error in your application, please share a code snippet, we can then get a proper picture.. thanks.

To use adc, there's AnalogIn object in mbed API.

Regards,
0xc0170

posted by Martin Kojtal 24 Mar 2014
Be the first to answer this question.