:451B : :1 :2022-09-30 15:13:30
按键控制LED灯.c如果开发者对于本文件有需要的可以参考。
void main()
{
//初始化
init();
//流水灯
while(1)
{
delay(120000);
P1 = 0x01;
delay(120000);
P1 = 0x03;
delay(120000);
P1 = 0x0b;
delay(120000);
P1 = 0x1b;
delay(120000);
P1 = 0x1A;
delay(120000);
P1 = 0x18;
delay(120000);
P1 = 0x10;
delay(120000);
P1 = 0x00;
10-18查表显示LED灯(C语言单片机实例12)
10-18步进电机按键控制(C语言单片机实例84)
10-17按键控制单个数码管显示(C语言单片机实例