From 644984d48ee63e801f3ce8d1c174cef2410a80be Mon Sep 17 00:00:00 2001 From: Joshua Lowe Date: Tue, 24 Nov 2020 09:27:37 +0000 Subject: [PATCH] Update latest-revision-main.md --- latest-revision/latest-revision-main.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latest-revision/latest-revision-main.md b/latest-revision/latest-revision-main.md index 8acce2a..72a39d2 100644 --- a/latest-revision/latest-revision-main.md +++ b/latest-revision/latest-revision-main.md @@ -124,7 +124,7 @@ dir(microbit) | API | Usage | |--------------------------------------------|--------------| -| play sound expression (giggle, happy, hello, mysterious, sad, slide, soaring, spring, twinkle, yawn) | `audio.play("hello")`| +| play sound expression (GIGGLE, HAPPY, HELLO, MYSTERIOUS, SAD, SLIDE, SOARING, SPRING, TWINKLE, YAWN) | `audio.play(microbit.Sound.HELLO)`| | Choose music/pitch output pin | `music.play(music.JUMP_UP, pin=microbit.pin_speaker, wait=True)` | | Stop music on pin | `music.stop(pin=microbit.pin_speaker)` | | Set the volume 0-255 | `microbit.set_volume(128)` |