按键key0按下一次,灯LE0持续闪烁,闪烁间隔为1秒。
if (key0 == 1) {sleep(5);if(key0 == 1) {while(1){p1 = 1;sleep(1000);p1 = 0;sleep(1000);}}}