Skip to content

if else

AutomationDirect edited this page Jan 3, 2020 · 2 revisions

if/else


Description

Runs a set of commands when the 'condition' value is 'true/HIGH', and runs another set of commands when the 'condition' is 'false/LOW'.


Usage

Place a boolean value in the 'condition' and connect desired blocks under the 'then' and 'else' hooks. Blocks placed under the 'then' hook will run if the 'condition' is 'true/HIGH'. Blocks placed under the 'else' condition will run if the 'condition' is 'false/LOW'.


Notes

  • The 'condition' must have a boolean block connected to it, otherwise the program will not be able to 'verify' or 'upload'.

Clone this wiki locally