786 octets ajoutés
, 22 mai 2016 à 19:04
{{WIPY-NAV}}
{{traduction}}
== Réinitialisation et mode de démarrage ==
There are soft resets and hard resets.
=== Réinitialisation logicielle ==
A soft reset simply clears the state of the MicroPython virtual machine, but leaves hardware peripherals unaffected. To do a soft reset, simply press Ctrl+D on the REPL, or within a script do:
<syntaxhighlight lang="python">
import sys
sys.exit()
</syntaxhighlight>
=== Réinitialisation matérielle ===
A hard reset is the same as performing a power cycle to the board. In order to hard reset the WiPy, press the switch on the board or:
<syntaxhighlight lang="python">
import machine
machine.reset()
</syntaxhighlight>
== Safe Boot ==
Nous pouvons traduire "''safe boot''" par démarrage en mode sans échec.
{{WIPY-TRAILER}}