From 2e9dc6a72c93ef163d034eb920b07e9d9e5a128f Mon Sep 17 00:00:00 2001 From: Max Reynolds Date: Mon, 3 Aug 2020 09:37:39 +0100 Subject: [PATCH 1/2] Update link, currently noTone is 404. --- Language/Functions/Advanced IO/tone.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Language/Functions/Advanced IO/tone.adoc b/Language/Functions/Advanced IO/tone.adoc index 56c65bbc5..86b4c1af6 100644 --- a/Language/Functions/Advanced IO/tone.adoc +++ b/Language/Functions/Advanced IO/tone.adoc @@ -17,7 +17,7 @@ subCategories: [ "Advanced I/O" ] [float] === Description -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. +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. 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. @@ -72,6 +72,7 @@ If you want to play different pitches on multiple pins, you need to call `noTone [role="language"] * #LANGUAGE# link:../../analog-io/analogwrite[analogWrite()] +* #LANGUAGE# link:../notone[noTone()] [role="example"] From 68880c635b63635d6f0a5fc64fad3efcea2d269d Mon Sep 17 00:00:00 2001 From: Max Reynolds Date: Mon, 3 Aug 2020 11:44:27 +0100 Subject: [PATCH 2/2] Remove language link Co-authored-by: per1234 --- Language/Functions/Advanced IO/tone.adoc | 1 - 1 file changed, 1 deletion(-) diff --git a/Language/Functions/Advanced IO/tone.adoc b/Language/Functions/Advanced IO/tone.adoc index 86b4c1af6..41e3f5031 100644 --- a/Language/Functions/Advanced IO/tone.adoc +++ b/Language/Functions/Advanced IO/tone.adoc @@ -72,7 +72,6 @@ If you want to play different pitches on multiple pins, you need to call `noTone [role="language"] * #LANGUAGE# link:../../analog-io/analogwrite[analogWrite()] -* #LANGUAGE# link:../notone[noTone()] [role="example"]