Add sim note to 'reset' api topic (#616)
This commit is contained in:
parent
6ad6c40328
commit
28b633aa8e
@ -7,6 +7,13 @@ This function is like pressing the reset button on the back of the @boardname@.
|
|||||||
```sig
|
```sig
|
||||||
control.reset()
|
control.reset()
|
||||||
```
|
```
|
||||||
|
## ~hint
|
||||||
|
|
||||||
|
**Simulator**
|
||||||
|
|
||||||
|
The **reset** function works only on a real @boardname@ and not in the simulator.
|
||||||
|
|
||||||
|
## ~
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
@ -26,12 +33,6 @@ input.onButtonPressed(Button.B, () => {
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
### ~hint
|
## See also
|
||||||
|
|
||||||
This program works better on a real @boardname@ than in the simulator.
|
|
||||||
|
|
||||||
### ~
|
|
||||||
|
|
||||||
## See Also
|
|
||||||
|
|
||||||
[clear screen](/reference/basic/clear-screen), [game over](/reference/game/game-over)
|
[clear screen](/reference/basic/clear-screen), [game over](/reference/game/game-over)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user