tm1637-v2-display

cesars/tm1637-v2/tm1637-v2-display

Display data
tm1637-v2-display
@/tm1637-v2-display
Display data
1637-2@/tm1637-v2-dev
Input from Dev
Valuenumber
Input value to display
UPDpulse
Pulse update
tm1637-v2-display
1637-2'
DONE
1637-2
Value
UPD
DONEpulse
Pulse done
1637-2'@/tm1637-v2-dev
Output dev
To use the node in your project you should have the cesars/tm1637-v2 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

node {
    void evaluate(Context ctx) {

        emitValue<output_1637_2U0027>(ctx, getValue<input_1637_2>(ctx));
        if (!isInputDirty<input_UPD>(ctx))return;

        auto Display = getValue<input_1637_2>(ctx);

        Display->display((Number)getValue<input_Value>(ctx));

        emitValue<output_DONE>(ctx, 1);
    }
}