Modifications

Sauter à la navigation Sauter à la recherche
491 octets ajoutés ,  16 février 2015 à 19:36
aucun résumé de modification
Ligne 3 : Ligne 3 :  
{{traduction}}
 
{{traduction}}
 
== REPL Kaseko?!? ==
 
== REPL Kaseko?!? ==
{{bloc-etroit|text=REPL stands for Read Evaluate Print Loop, and is the name given to the interactive Micro Python prompt that you can access on the pyboard. Using the REPL is by far the easiest way to test out your code and run commands. You can use the REPL in addition to writing scripts in main.py.}}
+
{{bloc-etroit|text=REPL signifie "Read Evaluate Print Loop" (boucle Lecture Evaluation Affichage). REPL est le nom donné au à la ligne commande interactive Micro Python accessible sur la carte. L'utilisation de REPL est de loin la façon la plus simple de tester votre code et exécuter des commandes. Vous pouvez utiliser REPL en plus d'écrire vis script dans main.py.}}
    
== Utiliser REPL ==
 
== Utiliser REPL ==
To use the REPL, you must connect to the serial USB device on the pyboard. How you do this depends on your operating system.
+
Pour utiliser REPL, vous pouvez connecter le périphérique USB série sur la PyBoard.  
 +
 
 +
La façon dont vous allez le faire dépend de votre système d'exploitation.
    
=== Sous Windows ===
 
=== Sous Windows ===
{{bloc-etroit|text=You need to install the pyboard driver to use the serial USB device. The driver is on the pyboard’s USB flash drive, and is called {{fname|pybcdc.inf}}.
+
{{bloc-etroit|text=Vous devez intaller le pylote pyboard pour utiliser le périphérique série USB (''USB serial device''). Le pilote est disponible sur le lecteur USB de la PyBoard et s'appelle {{fname|pybcdc.inf}}.
 +
 
 +
Pour installerce pilote, vous aurez besoin de vous rendre dans le gestionnaire de périphérique (''Device Manager'') sur votre ordinateur, trouvez la PyBoard dans la liste des périphérique (il devrait y avoir une petite image "attention" juste à côté puisque le périphérique ne fonctionne pas encore). Faites un clique droit sur le périphérique PyBoard et sélectionnez "Propriété" dans le menu PUIS "Installer Pilote".<br />Vous devrez ensuite sélectionner l'option permettant de choisir le pilote manuellement (n'utilisez pas la mise-à-jour automatique de Windows!). Naviguez sur le lecteur USB de la carte PyBoard et sélectionnez le fichier {{fname|pybcdc.inf}} pour commencer l'installation du pilote.
   −
To install this driver you need to go to Device Manager for your computer, find the pyboard in the list of devices (it should have a warning sign next to it because it’s not working yet), right click on the pyboard device, select Properties, then Install Driver. You need to then select the option to find the driver manually (don’t use Windows auto update), navigate to the pyboard’s USB drive, and select that. It should then install. After installing, go back to the Device Manager to find the installed pyboard, and see which COM port it is (eg COM4). More comprehensive instructions can be found in the [http://micropython.org/resources/Micro-Python-Windows-setup.pdf Guide for pyboard on Windows] (Guide d'utilisation Micro Python sous Windows, ''PDF, Anglais''). Please consult this guide if you are having problems installing the driver.}}
+
Après l'installation, retournez dans le Gestionnaire de périphérique pour retrouver la PyBoard installée et vous devriez voir le port COM assigné (ex COM4). Pour plus d'information sur les instructions dans le document "[http://micropython.org/resources/Micro-Python-Windows-setup.pdf Guide for pyboard on Windows]" (Guide d'utilisation Micro Python sous Windows, ''PDF, Anglais''). Consultez ce guide si vous rencontrez des problèmes en installant le pilote.}}
    
You now need to run your terminal program. You can use HyperTerminal if you have it installed, or download the free program PuTTY: [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html putty.exe]. Using your serial program you must connect to the COM port that you found in the previous step. With PuTTY, click on “Session” in the left-hand panel, then click the “Serial” radio button on the right, then enter you COM port (eg COM4) in the “Serial Line” box. Finally, click the “Open” button.
 
You now need to run your terminal program. You can use HyperTerminal if you have it installed, or download the free program PuTTY: [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html putty.exe]. Using your serial program you must connect to the COM port that you found in the previous step. With PuTTY, click on “Session” in the left-hand panel, then click the “Serial” radio button on the right, then enter you COM port (eg COM4) in the “Serial Line” box. Finally, click the “Open” button.
29 917

modifications

Menu de navigation