内容简介:if(num >= 4)num = 0;while(!Key);} } 然后根据num 的值 对Led进行状态刷新就好了。switch(num){ case 0: Led1 = 1; Led2 = 0; break;case 1: Led1 = 0; Led2 = 1; break;case 2: Led1 = 当按下按钮AN,触发电路(由R3、C3、T2和Xe组成)产生脉冲电压,在T2...
用户评论
havenhome