Documentation / Blocks / Logic and rules

Logic and rules

Logic rules to apply

Example:

if ( temp > 25  ) {
        fan = 1 ;
} else {
        fan = 0 ;
}

More on rules



Reference

Setting Description
Disabled To disable or enable this block.
Name The name of this block.
Script Logic rule, for example:

if ( temp > 25 ) { fan = 1 ; }
else { fan = 0 ; }
Comment To optionally enter a comment.
It does not impact the generated firmware.