Displaying a dynamically created ASCII text string.
write-string
@/write-string
Displaying a dynamically created ASCII text string.
DEVgabbapeople/4d-ulcd/4d-ulcd
a 4D uLCD device
IDXnumber
STRINGstring
PUSHpulse
Pushes a new value
To use the node in your project you should have the bradzilla84/visi-genie-extra-library 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) {
auto _genie = getValue<input_DEV>(ctx);
uint8_t index = getValue<input_IDX>(ctx);
auto val = getValue<input_STRING>(ctx);
if (isInputDirty<input_PUSH>(ctx)){
String TXT = "";
for (auto it = val.iterate(); it; ++it)
TXT = TXT + (*it);
_genie.genie->WriteStr(index, TXT);
}
}