Download pmac users

Transcript
PMAC User Manual
l = strlen(buf);
while (l > n+5) {
switch (m) {
case 0:
fprintf(outfile,"WP$%04X",y); y += 5;
default:
fprintf(outfile,",$%c%c%c%c%c%c",buf[n],buf[n+1],buf[n+2],
buf[n+3],buf[n+4],buf[n+5]);
}
n += 7;
m += 1;
if (m==5) {
m = 0;
fprintf(outfile,"\r\n");
}
}
}
if (m>0) fprintf(outfile,"\r\n");
}
}
}
Closing the Servo Loop
9-15