delay.h
00001 #define F_CPU 15000000
00002
00003 #define K_DELAY_100us F_CPU/61349
00004 #define K_DELAY_1ms F_CPU/6013
00005 #define K_DELAY_10ms F_CPU/600
00006
00007 void Delay_100us(unsigned char t);
00008 void Delay_1ms(unsigned char t);
00009 void Delay_10ms(unsigned char t);