Compare commits

...

3 Commits

Author SHA1 Message Date
Peli de Halleux
71b3b6bb22 0.2.154 2016-06-06 16:38:09 -07:00
Peli de Halleux
b868bd1e09 Bump pxt-core to 0.2.167 2016-06-06 16:38:06 -07:00
Ron Hale-Evans
02e48f196c Rewritten in simple language 2016-06-06 15:41:17 -07:00
2 changed files with 5 additions and 5 deletions

View File

@@ -1,10 +1,10 @@
# Rest
Rests (plays nothing) for a specified time through pin PO.
Rest (play no sound) through pin `PO` for the amount of time you say.
## Simulator
Simulation of this function is available in many, but not all browsers.
This function only works on the micro:bit and in some browsers.
```sig
music.rest(400)
@@ -12,7 +12,7 @@ music.rest(400)
### Parameters
* `ms`: [Number](/reference/types/number) - the duration of the rest (milliseconds)
* a [number](/reference/types/number) saying how many milliseconds the micro:bit should rest. One second is 1000 milliseconds.
## Example

View File

@@ -1,6 +1,6 @@
{
"name": "pxt-microbit",
"version": "0.2.153",
"version": "0.2.154",
"description": "BBC micro:bit target for PXT",
"keywords": [
"JavaScript",
@@ -29,6 +29,6 @@
"typescript": "^1.8.7"
},
"dependencies": {
"pxt-core": "0.2.165"
"pxt-core": "0.2.167"
}
}