hc595-nibble-lower

bradzilla84/74hc595/hc595-nibble-lower

No description
hc595-nibble-lower
@/hc595-nibble-lower
IN@/hc595-getall
Input from GetAll
INITpulse
hc595-nibble-lower
OUT1
OUT2
OUT3
OUT4
IN
INIT
OUT4boolean
Pin 4
OUT3boolean
Pin 3
OUT2boolean
Pin 2
OUT1boolean
Pin 1
To use the node in your project you should have the bradzilla84/74hc595 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 {
};

// clang-format off
{{ GENERATED_CODE }}
// clang-format on

void evaluate(Context ctx) {

        if (!isInputDirty<input_INIT>(ctx)){
        return;}

    auto data = getValue<input_IN>(ctx);

    emitValue<output_OUT1>(ctx, data.items[0]);
    emitValue<output_OUT2>(ctx, data.items[1]);
    emitValue<output_OUT3>(ctx, data.items[2]);
    emitValue<output_OUT4>(ctx, data.items[3]);
}