Skip to content

Commit 2e9dc6a

Browse files
Update link, currently noTone is 404.
1 parent a942f0a commit 2e9dc6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Language/Functions/Advanced IO/tone.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Advanced I/O" ]
1717

1818
[float]
1919
=== Description
20-
Generates a square wave of the specified frequency (and 50% duty cycle) on a pin. A duration can be specified, otherwise the wave continues until a call to link:../noTone[noTone()]. The pin can be connected to a piezo buzzer or other speaker to play tones.
20+
Generates a square wave of the specified frequency (and 50% duty cycle) on a pin. A duration can be specified, otherwise the wave continues until a call to link:../notone[noTone()]. The pin can be connected to a piezo buzzer or other speaker to play tones.
2121

2222
Only one tone can be generated at a time. If a tone is already playing on a different pin, the call to `tone()` will have no effect. If the tone is playing on the same pin, the call will set its frequency.
2323

@@ -72,6 +72,7 @@ If you want to play different pitches on multiple pins, you need to call `noTone
7272

7373
[role="language"]
7474
* #LANGUAGE# link:../../analog-io/analogwrite[analogWrite()]
75+
* #LANGUAGE# link:../notone[noTone()]
7576

7677
[role="example"]
7778

0 commit comments

Comments
 (0)