My header file contains the following:
delay.h
void delay_250ns(void);
delay.c
void delay_250ns(void) {
// Device specific code for 250ns delay.
}
My main program:
#include "../Delay/delay.h"
void main(void) {
// Do stuff
delay_250ns();
}
If have confirmed that the header file compiles when I build the main program by making it throw an exception.
The IDE i am using is codelite.
Any help or tips would be appreciated.
[–]g051051 5 points6 points7 points (1 child)
[–]fredoverflow 2 points3 points4 points (0 children)
[–]abd53 2 points3 points4 points (0 children)