Hi,I wrote this .ini file as signal function to my program: SIGNAL void int0_signal (void) { int i=0 int j=0; while (1) {
while(i<35) { PORT8 |= 0x01; /* pull PORT 3.0 high */ swatch (0.001); /* wait 50 milliseconds */ PORT8 &= ~0x01; /* pull PORT 3.1 low */ swatch (0.001); i++; } while(j<2) { PORT8 |= 0x01; /* pull PORT 3.0 high */ swatch (0.0005); /* wait 50 milliseconds */ PORT8 &= ~0x01; /* pull PORT 3.1 low */ swatch (0.0005); j++; } i=0; j=0;
} }
int0_signal();
but while running the program,i face with syntax error for this .ini file.what is wrong with it? thanks