Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 9 months 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,
posted by Martin Kojtal 24 Mar 20140xc0170