trying to write my own fix program dont how to fix this one problems help would be appreciated thank you
fade.ino (269 Bytes)
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:
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.