2.1.28, initiation update to PXT v5.28.24 (#54)

This commit is contained in:
Amerlander
2019-12-02 05:58:26 +01:00
committed by Peli de Halleux
parent 38a964516e
commit 5c114a0c57
1261 changed files with 50692 additions and 21604 deletions

View File

@@ -2,17 +2,19 @@
Rest (play no sound) through pin `PO` for the amount of time you say.
## Simulator
This function only works on the @boardname@ and in some browsers.
```sig
music.rest(400)
```
### Parameters
### ~ hint
* ``ms`` is a [number](/reference/types/number) saying how many
**Simulator**: This function only works on the @boardname@ and in some browsers.
## ~
## Parameters
* ``ms`` is a [number](/types/number) saying how many
milliseconds the @boardname@ should rest. One second is 1000
milliseconds.
@@ -24,7 +26,7 @@ music.playTone(frequency, 1000)
music.rest(1000)
```
### See also
## See also
[play tone](/reference/music/play-tone), [ring tone](/reference/music/ring-tone) , [tempo](/reference/music/tempo), [set tempo](/reference/music/set-tempo), [change tempo by](/reference/music/change-tempo-by)