-
Notifications
You must be signed in to change notification settings - Fork 4
Do While
AutomationDirect edited this page Jan 3, 2020
·
2 revisions
Runs a set of commands repeatedly while the 'condition' is 'true/HIGH'.
Place a boolean value in the 'condition' and connect desired blocks under the 'commands' hook. These blocks will run in order repeatedly unless the value of the 'condition' becomes 'false/LOW'. The 'condition' is checked after each repeat. If the 'condition' is 'false/LOW', the program will exital the 'Do While' block. Placing a 'break' block inside the 'commands' will cause the program to exit the current 'Do While' block.
- If the 'condition' of a 'Do While' block is always 'true/HIGH', the program cannot continue past the 'while' block without a 'break' block. Be sure to double check your 'condition' and use the 'break' block as needed.