what is expected primary expression before for I cant fix it

trying to write my own fix program dont how to fix this one problems help would be appreciated thank you

fade.ino (269 Bytes)

I cannot look at your attachment on my mobile device, but I can tell you this:

  • You should autoformat your Arduino code (CTRL-T on a PC) and post it using copy and paste inside of code tags.
  • You should post COMPLETE error messages using copy and paste inside of another pair of code tags.
  • You should read the locked posts at the top of the forum on how to use the forum and how to post properly.

Your code makes no sense. Explain what you are trying to do.

int led1 = 1;
int i = 10; // brightness
int fade = 1 ;
bool running = true;
void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:
  for (i = 10; i < 0; i--); {
    if (i > 10 == (for (i = 10; i > 10; i++)));


  }
}
}

Always select Tools->Auto Format after typing in your code.

    if (i > 10 == (for (i = 10; i > 10; i++)));

Did you run some good code through a blender? What is this crap supposed to do? A for statement does not return a value, so trying to use a for statement as an rvalue is NEVER going to work.