Am using cortex-M3. I did a program. While compiling am getting an error as #include"lpc1xx.h". Am not able to rectify it. Please help me.
Thank You.
Don't you think it would be necessary to at least know what error, exactly, you are getting for anyone to be able to suggest how to fix that error?!
But, usually, the error message tells you exactly what is wrong; think about what it is telling you and, thus, how to fix it!
Is header file placed at the path you are giving? Do you know the difference between #include "filename" and #include <filename>?
For a moment, Is this a valid header file #include"lpc1xx.h"? I think it must be #include <lpc17xx.h>
Give the details of what solution worked for you? Did you understand the exact reason for error?
I need to vary the dutycycle of ADC values. So i included ADC program in timer module. On that time i got this error sir.
ok. you have not described whether the suggestions given to you for generating variable duty cycle worked for you? If NO, then how did you implement?
Details of Solution that worked for you?
Actually i didnt worked sir. just i included in that program. i need to include it sir. that itself not working.
remember....
The world is full of code examples. Just that the world expects YOU to have a working knowledge about Google and the other available search engines. Because they are so very much faster at producing an answer to most questions compared to forum threads.
Also read the datasheets of the controller you are using and study the example code that are already available for your controller peripherals.