MicroC Overview : Languages Supported by MicroC : Textual Languages : Truth Table

Truth Table

The functionality of Activity might be directly defined using Truth Table. Truth Table is a table describing the inputs, the resulting outputs and the actions performed. Truth Tables are recommended to be used when the Activity has many inputs to consider and few states/modes to be in.

When the Truth Table is defined in a reduced form, it will be reflected in the generated code. This enables the user to build highly efficient implementations. For example: Radios are prime examples, once on they respond to button presses, perform an action and return to the on state. Another such function could be a climate control controller, once on and in control mode, button presses are generally responded to and the control state returned to.