Swapping play builtin melody with begin melody in reference docs

This commit is contained in:
Sam El-Husseini
2017-03-01 00:38:12 -08:00
parent b0fddd7e72
commit 7c1b761964
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Play Built-in Melody
# Begin Melody
Play a built in musical melody through pin ``P0`` of the @boardname@.
Begin playing a musical melody through pin ``P0`` of the @boardname@.
## Simulator
@ -12,11 +12,11 @@ music.beginMelody(music.builtInMelody(Melodies.Entertainer), MelodyOptions.Once)
### Parameters
* ``melody`` is the kind of built-in melody you want to play
* ``melody`` is the array representation of a melody you wish to play
## Example
This example plays the ``Entertainer`` melody.
This example plays the ``Entertainer`` built-in melody.
```blocks
music.beginMelody(music.builtInMelody(Melodies.Entertainer), MelodyOptions.Once)