Skip to content

Commit c92dd07

Browse files
Update latest-revision-main.md (#223)
1 parent 94aff4f commit c92dd07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

latest-revision/latest-revision-main.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ dir(microbit)
124124

125125
| API | Usage |
126126
|--------------------------------------------|--------------|
127-
| play sound expression (giggle, happy, hello, mysterious, sad, slide, soaring, spring, twinkle, yawn) | `audio.play("hello")`|
127+
| play sound expression (GIGGLE, HAPPY, HELLO, MYSTERIOUS, SAD, SLIDE, SOARING, SPRING, TWINKLE, YAWN) | `audio.play(microbit.Sound.HELLO)`|
128128
| Choose music/pitch output pin | `music.play(music.JUMP_UP, pin=microbit.pin_speaker, wait=True)` |
129129
| Stop music on pin | `music.stop(pin=microbit.pin_speaker)` |
130130
| Set the volume 0-255 | `microbit.set_volume(128)` |

0 commit comments

Comments
 (0)