
Arduino #14 - 迴圈 while 稱霸 Arduino!
想讓 Arduino 根據條件來重複執行工作?快來參見強大的 While 迴圈! ✏ 基礎系列最終章,請持續關注 www.lazytomatolab.com 的最新消息! ✏ Arduino SpeedUp 快速上手系列清單 - https://goo.gl/ceeR8W 舉啞鈴 10 次太容易,番茄要來挑戰跟著音樂動次動! 基礎系列最終章,快跟著番茄一起用 While 迴圈稱霸 Arduino! 本集內容包含: ✏ 什麼是 While 迴圈?為什麼用 While 迴圈? ✏ While 迴圈的基本結構。 ✏ 按下按鈕讓 LED 停止閃爍! ✏ For 與 While 迴圈的比較。 ✏ For 與 While 迴圈的轉換,但別這麼做! ✏ 危險的無窮迴圈 / 無限循環! ✏ 介紹 break 與 continue 指令。 更多資訊請造訪:http://www.lazytomatolab.com/ Arduino 程式範例:http://gist.github.com/lazytomatolab 背景音樂: 「Kevin MacLeod」創作的「Airport Lounge - Disco Ultralounge」是根據「Creative Commons Attribution」(https://creativecommons.org/licenses/by/4.0/) 授權使用 來源:http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1100806 演出者:http://incompetech.com/ 圖片素材: http://www.stickpng.com/img/memes/thug-life/glasses/deal-with-it-glasses 歡迎訂閱 LazyTomato Lab 懶番茄工作室 隨時追蹤最新的影片資訊!




