hc595-nibble-upper

bradzilla84/74hc595/hc595-nibble-upper

No description
hc595-nibble-upper
@/hc595-nibble-upper
IN@/hc595-getall
Input from GetAll
INITpulse
hc595-nibble-upper
OUT5
OUT6
OUT7
OUT8
IN
INIT
OUT8boolean
Pin 8
OUT7boolean
Pin 7
OUT6boolean
Pin 6
OUT5boolean
Pin 5
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_OUT5>(ctx, data.items[4]);
    emitValue<output_OUT6>(ctx, data.items[5]);
    emitValue<output_OUT7>(ctx, data.items[6]);
    emitValue<output_OUT8>(ctx, data.items[7]);
}