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

@@ -7,8 +7,15 @@ This function is like pressing the reset button on the back of the @boardname@.
```sig
control.reset()
```
## ~hint
### Example
**Simulator**
The **reset** function works only on a real @boardname@ and not in the simulator.
## ~
## Example
This program will count as high as you like when you press button `A`.
When you get tired of counting, press button `B` to reset the
@@ -26,12 +33,6 @@ input.onButtonPressed(Button.B, () => {
});
```
#### ~hint
This program works better on a real @boardname@ than in the simulator.
#### ~
### See Also
## See also
[clear screen](/reference/basic/clear-screen), [game over](/reference/game/game-over)