We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c920dc7 commit ce19aeaCopy full SHA for ce19aea
examples/MultiplePWM/Loop2.ino
@@ -2,11 +2,7 @@
2
// Task no.2
3
4
void loop2 () {
5
- analogWrite(led1, counter1);
+ analogWrite(LED2, counter1);
6
counter1 += 50;
7
-
8
- // When multiple tasks are running, 'delay' passes control to
9
- // other tasks while waiting and guarantees they get executed
10
- // It is not necessary to call yield() when using delay()
11
- delay(1000);
+ delay(500);
12
}
0 commit comments