all

dancojocaru2000/7-segment/all

Pulses on output when all inputs receive a pulse
all
@/all
Pulses on output when all inputs receive a pulse
IN1pulse
IN2pulse (variadic)
all
OUT
IN1
IN2
OUTpulse
To use the node in your project you should have the dancojocaru2000/7-segment library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.

C++ implementation

struct State {
};

{{ GENERATED_CODE }}

void evaluate(Context ctx) {
    auto val1 = getValue<input_IN1>(ctx);
    auto val2 = getValue<input_IN2>(ctx);
    emitValue<output_OUT>(ctx, val1 && val2);
}