Class ElseCondition - GSTCH/SketchMadeEASY GitHub Wiki
Topic | Specification |
---|---|
Description | Sketch Made EASY combines inputs with actuators through logic. The logic is defined by the conditions. If a condition is true, the relation is to the actuator is active. This condition inverts the result of a condition. |
Constructor |
ElseCondition(Condition* aCondition) Parameter Condition: Any condition |
Samples | CompareCondition* conditionLed1On = new CompareCondition(timer, OpEQ, Timer::High); ElseCondition* conditionLed2On = new ElseCondition(conditionLed1On); |
Examples | 21-Alternate blink |