Block:Rule

From Bendyroad

A rule is as block of text with a 'C', Javascript like language to describe logic rules.

Example:

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

For more on rules, see: Rules

Infocard

Applies the logic specified in the script

Property 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.