0

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?

CJBS
  • 15,147
  • 6
  • 86
  • 135

1 Answers1

2

Just save the file you created before compile and download.

Jerry Meng
  • 21
  • 2