We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec7996e commit 5481bacCopy full SHA for 5481bac
build/shared/examples/02.Digital/toneMultiple/toneMultiple.ino
@@ -4,7 +4,7 @@
4
Plays multiple tones on multiple pins in sequence
5
6
circuit:
7
- * 3 8-ohm speaker on digital pins 6, 7, and 11
+ * 3 8-ohm speaker on digital pins 6, 7, and 8
8
9
created 8 March 2010
10
by Tom Igoe
@@ -21,8 +21,8 @@ void setup() {
21
}
22
23
void loop() {
24
- // turn off tone function for pin 11:
25
- noTone(11);
+ // turn off tone function for pin 8:
+ noTone(8);
26
// play a note on pin 6 for 200 ms:
27
tone(6, 440, 200);
28
delay(200);
@@ -35,8 +35,7 @@ void loop() {
35
36
// turn off tone function for pin 7:
37
noTone(7);
38
- // play a note on pin 11 for 500 ms:
39
- tone(11, 523, 300);
+ // play a note on pin 8 for 500 ms:
+ tone(8, 523, 300);
40
delay(300);
41
-
42
0 commit comments