From 7f408891030388d5df2c6868516348ac728766ce Mon Sep 17 00:00:00 2001 From: Thomas Denney Date: Tue, 9 Aug 2016 16:35:45 +0100 Subject: [PATCH] Add package info to mic docs (for testing) --- docs/reference/devices/tell-microphone-to.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/reference/devices/tell-microphone-to.md b/docs/reference/devices/tell-microphone-to.md index 52879fef..c0bd92d2 100644 --- a/docs/reference/devices/tell-microphone-to.md +++ b/docs/reference/devices/tell-microphone-to.md @@ -12,7 +12,7 @@ The functions in the antenna namespace allow the BBC micro:bit to communicate wi ### JavaScript -``` +```sig export function tellMicrophoneTo(event: string) ``` @@ -36,12 +36,16 @@ export function tellMicrophoneTo(event: string) To tell the connected device to start recording audio -``` +```blocks devices.tellMicrophoneTo("start capture") ``` To tell the connected device to stop recording audio -``` +```blocks devices.tellMicrophoneTo("stop capture") ``` + +```package +microbit-devices +``` \ No newline at end of file