单片机LED闪烁

2019-11-23 13:09发布

<br><pre style="max-width: 100%;"><code class="cpp hljs" codemark="1">{ <span class="hljs-keyword">while</span>(<span class="hljs-number">1</span>) IF(key3==<span class="hljs-number">0</span>) { LED1=<span class="hljs-number">0</span>; LED3=<span class="hljs-number">0</span>; LED5=<span class="hljs-number">0</span>; LED1=<span class="hljs-number">1</span>; LED3=<span class="hljs-number">1</span>; LED5=<span class="hljs-number">1</span>; }</code></pre><p>请问为什么按键按下了,没有闪烁呀。</p><br> <p><br></p><p></p><p><br></p>