I am trying to program Lego Mindstorms robot and having a problem with NXC. While compiling any program I get a compile error.
For example:
task main() {
OnFwd(OUT_A, 100);
OnFwd(OUT_C, 100);
Wait(1000);
Off(OUT_AC);
}
There is no error message given, just compile failed.
How can this problem be resolved?
Just save the file you created before compile and download.