To use the node in your project you should have the wayland/arduino-tvout 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) {
// Get a pointer to the `TVout` class instance
auto tv = getValue<input_DEV>(ctx);
unsigned char x, y;
x = tv->hres();
y = tv->vres();
emitValue<output_X>(ctx, x);
emitValue<output_Y>(ctx, y);
}