?? if3.c
字號:
#include<at89x51.h>
void Ledon(void);
void Ledoff(void);
void Ifdemo3(void)
{Byte Fgpulse;
if(Fgpulse==0)
{if(P1_7==0)
{Fgpulse=1;
Ledon();
}
else
{Fgpulse=0;
Ledoff();
}
}
else
{if(P1_7!=0)
Fgpulse=0;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -