This repository was archived by the owner on Sep 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Tone
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.
| 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 |
Copyright (C) 2015 -2019, Alan Yorinks, All rights reserved.
- Home
- Before You Install s2aio
- Installing s2aio
- Starting s2aio
- s2aio Programming Blocks
- Examples