//单片机调用库函数设置单片机延时;
/——————————————————————/
/* — STC MCU Limited ———————————————*/
/* — STC12C56xx Series MCU IO Demo ——————————-*/
/* — Mobile: (86)13922805190 ————————————-*/
/* — Fax: 86-0513-55012956,55012947,55012969 ———————*/
/* — Tel: 86-0513-55012928,55012929,55012966———————-*/
/* — Web: www.STCMCU.com —————————————–*/
/* — Web: www.GXWMCU.com —————————————–*/
/* If you want to use the program or the program referenced in the */
/* article, please specify in which data and procedures from STC */
/——————————————————————/
include “STC15.H”
include “intrins.h”
/调用库函数时,必须包含这个头文件。_nop_ 在这里。/
sbit LED4 = P1^0; //led4
sbit LED5 = P1^1; //LED5
sbit LED2 = P2^6; //LED2
sbit LED3 = P2^7; //LED3
sbit LED6 = P1^6; //LED6?
void Delay1000ms();