Lego Mindstorms - Nondescript compilation Failure

2.1k Views Asked by At

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?

1

There are 1 best solutions below

0
On

Just save the file you created before compile and download.