Add package info to mic docs (for testing)

This commit is contained in:
Thomas Denney 2016-08-09 16:35:45 +01:00
parent ee37b4a959
commit 7f40889103

View File

@ -12,7 +12,7 @@ The functions in the antenna namespace allow the BBC micro:bit to communicate wi
### JavaScript ### JavaScript
``` ```sig
export function tellMicrophoneTo(event: string) export function tellMicrophoneTo(event: string)
``` ```
@ -36,12 +36,16 @@ export function tellMicrophoneTo(event: string)
To tell the connected device to start recording audio To tell the connected device to start recording audio
``` ```blocks
devices.tellMicrophoneTo("start capture") devices.tellMicrophoneTo("start capture")
``` ```
To tell the connected device to stop recording audio To tell the connected device to stop recording audio
``` ```blocks
devices.tellMicrophoneTo("stop capture") devices.tellMicrophoneTo("stop capture")
``` ```
```package
microbit-devices
```