Ligne 366 : |
Ligne 366 : |
| | | |
| === repl === | | === repl === |
− | repl [board-name] [~ line][ ~] | + | repl [nom-de-la-carte] [~ ligne][ ~] |
| | | |
− | Enters into the regular REPL with the MicroPython board. Use Control-X
| + | Entre en mode REPL standard avec la carte MicroPython. |
− | to exit REPL mode and return the shell. It may take a second or two
| |
− | before the REPL exits.
| |
| | | |
− | If you provide a board-name then rshell will connect to that board,
| + | Utilisez Control-X pour sortir du mode REPL et revenir au shell. La carte MicroPython peut avoir besoin d'une seconde ou deux pour sortie du mode REPL. |
− | otherwise it will connect to the default board (first connected board).
| |
| | | |
− | If you provide a tilde followed by a space (~ ) then anything after the
| + | Si ''nom-de-la-carte'' est fournit en argument alors RShell essaye de se connecter sur cette carte. A défaut, RShell se connecte sur la la première carte connectée. |
− | tilde will be entered as if you typed it on the command line.
| |
| | | |
− | If you want the repl to exit, end the line with the ~ character.
| + | Si la ligne de commande contient un caractère tilde suivit d'un espace (~ ) alors tout ce qui se trouve après le tilde est envoyé vers REPL comme si vous l'aviez saisit au clavier dans la session REPL. |
| | | |
− | For example, you could use:
| + | Si vous voulez sortir de REPL alors terminé votre ligne par le caractère tilde (~). |
| + | |
| + | Par exemple, vous pouvez saissir: |
| | | |
| rshell.py repl ~ pyb.bootloader()~ | | rshell.py repl ~ pyb.bootloader()~ |
| | | |
− | and it will boot the pyboard into DFU.
| + | Ce qui aura pour effet de démarrer la carte en mode DFU (''Device Firmware Update''). |
| | | |
| === rm === | | === rm === |