#include <reg51.h> //#include "sample delay.h" void MSDelay(unsigned int); void main(void) { while (1) //repeat forever { P1=0x55; MSDelay(250); P1=0xAA; MSDelay(250); } }
#include "sample delay.h" void MSDelay(unsigned int itime) { unsigned int i,j; for (i=0;i<itime;i++) for (j=0;j<1275;j++); }
while do build it displays a warning message in the build window as below sample delay.c(1): warning C318: can't open file 'sample delay.h' please help me in finding out the causes for this warning.