Skip to content

Commit 5f98025

Browse files
authored
Merge pull request #652 from animeshsrivastava24/patch-25
Fixed code syntax related typo in tone.adoc
2 parents 1cb1eca + 61ce3b2 commit 5f98025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Language/Functions/Advanced IO/tone.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ subCategories: [ "Advanced I/O" ]
1919
=== Description
2020
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

22-
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.
22+
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

2424
Use of the `tone()` function will interfere with PWM output on pins 3 and 11 (on boards other than the Mega).
2525

0 commit comments

Comments
 (0)