Recall & Review
beginner
What does the
noTone() function do in Arduino?The noTone() function stops the sound that is currently playing on a pin where tone() was used.
Click to reveal answer
beginner
How do you stop a tone playing on pin 8 in Arduino?
You use noTone(8); to stop the sound on pin 8.
Click to reveal answer
beginner
True or False:
noTone() can stop sounds on any pin, even if tone() was not used on it.False. noTone() only stops sounds started by tone() on that specific pin.
Click to reveal answer
beginner
What happens if you call
noTone() on a pin that is not playing any tone?Nothing happens. It simply ensures no tone is playing on that pin.
Click to reveal answer
beginner
Why would you use
noTone() in your Arduino program?To stop a sound when you want silence or to change the sound being played.
Click to reveal answer
What is the correct way to stop a tone on pin 5?
✗ Incorrect
The noTone() function stops the tone on the specified pin.
Which function starts a tone that
noTone() can stop?✗ Incorrect
tone() starts a sound on a pin, and noTone() stops it.
If you call
noTone() on a pin with no sound, what happens?✗ Incorrect
Calling noTone() on a silent pin does nothing.
Can
noTone() stop sounds started by other functions?✗ Incorrect
noTone() only stops sounds started by tone().
Which Arduino pin mode is required to use
tone() and noTone()?✗ Incorrect
The pin must be set as OUTPUT to play and stop tones.
Explain how
noTone() works and when you would use it in an Arduino project.Think about how you stop a sound after starting it.
You got /3 concepts.
Describe the relationship between
tone() and noTone() functions.One starts sound, the other stops it.
You got /4 concepts.
