Skip to content
This repository was archived by the owner on Sep 10, 2022. It is now read-only.
Alan Yorinks edited this page Mar 11, 2019 · 9 revisions

Snap! tab location: Sound tab.

This command block will play a tone at the frequency and duration specified.

Entering a duration of zero will leave the tone activated. Use the no tone command block to deactivate.

You must configure the pin for tone operation by using the Digital Pin Configuration Block before using this block.

Debugging Values

Debugger Value Explanation
0 No Error
5-1 Pin Number Must Be Specified as an Integer
5-2 Pin number is not valid
5-3 Pin was not properly configured for Tone
5-4 Frequency must be specified as an integer
5-5 Duration must be specified as an integer

Clone this wiki locally