Part of a series of examples on the different ways of using ports. See Port power tutorial.
#include <stdio.h>
#include "TargetVer2.h"
int ct = 0;
p.
open(
"/target/raw/out");
while (true) {
ct++;
printf(
"Sent (%d,%d)\n",
t.x,
t.y);
}
return 0;
}