Add package info to mic docs (for testing)
This commit is contained in:
parent
ee37b4a959
commit
7f40889103
@ -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
|
||||
```
|
Loading…
Reference in New Issue
Block a user