test-gate

hanguru7/ezo-uart-sensor/test-gate

No description
test-gate
@/test-gate
INstring
ENpulse
test-gate
OUT
IN
EN
OUTstring
To use the node in your project you should have the hanguru7/ezo-uart-sensor 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) {
    if (getValue<input_EN>(ctx))
        emitValue<output_OUT>(ctx, getValue<input_IN>(ctx));
}

Tabular tests

ENINOUT
0"wtf"""
1"lalala""lalala"