//#include "STC15Wxx.h" #include "STC15F2K60S2.H" #include "intrins.h" void Delay1ms() //@22.1184MHz { unsigned char data i, j; _nop_(); _nop_(); i = 22; j = 128; do { while (--j); } while (--i); } void Delay_ms(unsigned int n) { while(n--) { Delay1ms(); } }