main.c
#include <hidef.h> /* common defines and macros */
#include "derivative.h" /* derivative-specific definitions */
#include "deng.h"
void main(void) {
/* put your own code here */
DDRB=0XFF;
EnableInterrupts;
for(;;) {
denga();
delay();
_FEED_COP(); /* feeds the dog */
} /* loop forever */
/* please make sure that you never leave main */
}
deng.h
void denga(void);
void delay(void);