Arduino-while-loop

提供:Dev Guides
移動先:案内検索

Arduino-whileループ

whileループは、括弧内の式()がfalseになるまで、継続的に無限にループします。 テストされた変数を変更する必要があります。変更しないと、whileループは終了しません。

whileループの構文

while(expression) {
   Block of statements;
}

whileループ実行シーケンス

While Loop