Modifications

Sauter à la navigation Sauter à la recherche
75 octets supprimés ,  19 février 2022 à 21:27
Ligne 247 : Ligne 247 :  
== File manager ==
 
== File manager ==
   −
Il courant d'avoir besoin d'une bibliothèque spécifique sur la carte MicroPython.
+
It is common to copy library/libraries on the board.
Cela nécessite de pouvoir '''transférer un (ou plusieurs) fichiers sur la carte MicroPython'''.
     −
C'est '''bibliothèques''' sont généralement des scripts python (ex: ce [https://raw.githubusercontent.com/mchobby/esp8266-upy/master/bme280-bmp280/bme280.py fichier bme280.py]) permettant d'utiliser un capteur spécifique ([https://github.com/mchobby/esp8266-upy/tree/master/bme280-bmp280 capteur BME280 de pression et température I2C]).
+
This will requires to '''transfer one (or several) files to the MicroPython board'''.
   −
Cela tombe bien, Thonny dispose d'un outil de transfert de fichier entre l'ordinateur et la plateforme MicroPython.
+
Such '''libraries''' are usually python scripts (eg: ce [https://raw.githubusercontent.com/mchobby/esp8266-upy/master/bme280-bmp280/bme280.py bme280.py file]) coded for target sensors (eg: [https://github.com/mchobby/esp8266-upy/tree/master/bme280-bmp280 BME280 atmospheric & temperature I2C sensor]).
Il est accessible via le menu "'''View | Files'''".
+
 
 +
Thank to Thonny you also have a dedicated "file manager" tool used to transfert files between the computer and the MicroPython board.
 +
 
 +
The file manager is available via the "'''View | Files'''" menu.
    
[[Fichier:ENG-CANSAT-PICO-THONNY-30.png|480px]]
 
[[Fichier:ENG-CANSAT-PICO-THONNY-30.png|480px]]
   −
Ce qui affiche le gestionnaire de fichiers.
+
Which would display the Thonny file manager.
    
[[Fichier:ENG-CANSAT-PICO-THONNY-31.png|480px]]
 
[[Fichier:ENG-CANSAT-PICO-THONNY-31.png|480px]]
   −
Pour transférer une fichier de l'ordinateur vers la carte MicroPython, il faut :
+
To transfer a file from the computer to the MicroPython board, you will need to :
* sélectionner un fichier dans le volet "Ordinateur" (computer en anglais).
+
* Select the file into the "Computer" pane
* Activer le menu contextuel
+
* Activate the contextual menu (mouse right click)
* Sélectionner l'option "Téléverser vers" (Upload to en anglais).
+
* Select the option "Upload to" in the menu
   −
{{underline|A noter:}} le "/" indiqué dans le menu correspond au répertoire de destination actuellement sélectionner sur le microcontrôleur.
+
{{ambox|text=The "/" drawed into the menu match the root folder on the target (the microcontroler in this case).}}
    
[[Fichier:ENG-CANSAT-PICO-THONNY-32.png|480px]]
 
[[Fichier:ENG-CANSAT-PICO-THONNY-32.png|480px]]
   −
En explorant les différentes options des menus contextuels (côté ordinateur ou côté microcontrôleur), il est assez facile d'identifier les différentes fonctionnalités disponibles.
+
It would be easy to identify the features and behavior of the file manager by exploring and testing the various entries in the contextual menu. Please note that contectual menu are different in the board pane and computer pane.
 +
 
 
{{ENG-CANSAT-PICO-TRAILER}}
 
{{ENG-CANSAT-PICO-TRAILER}}
29 917

modifications

Menu de navigation