📄 for.c
字号:
#include<reg51.h>
void Ledon();
void Ledoff();
void Delayx10ms(Byte count);
void ForDemo2(Byte ontime,offtime)
{ Byte i;
for(i=0;i<3;i++) //闪三次
{Ledon();
Delayx10ms(ontime);
Ledoff();
Delayx10ms(offtime);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -