To use the node in your project you should have the hio/nwt-gus-hi 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
#pragma XOD evaluate_on_pin disable
#pragma XOD evaluate_on_pin enable input_UPD
node {
void evaluate(Context ctx) {
// The node responds only if there is an input pulse
if (!isInputDirty<input_UPD>(ctx))
return;
auto display = getValue<input_DEV>(ctx);
auto one = getValue<input_one>(ctx);
auto two = getValue<input_two>(ctx);
auto three = getValue<input_three>(ctx);
auto four = getValue<input_four>(ctx);
auto punkt = getValue<input_punkt>(ctx);
int8_t TimeDisp[] = {0x00, 0x00, 0x00, 0x00};
TimeDisp[0] = one;
TimeDisp[1] = two;
TimeDisp[2] = three;
TimeDisp[3] = four;
display->point(punkt);
display->display(TimeDisp);
emitValue<output_Done>(ctx, 1);
}
}