Modifications

Sauter à la navigation Sauter à la recherche
290 octets ajoutés ,  26 février 2017 à 12:29
Ligne 107 : Ligne 107 :     
= Introduction à MicroPython =
 
= Introduction à MicroPython =
Les cartes PyCom boards work with [https://micropython.org/ Micropython]; a Python 3 implementation that is optimised to run on micocontrollers. This allows for much faster and easier development than using C.
+
Les cartes PyCom fonctionne avec [https://micropython.org/ Micropython]; une implémentation de Python 3 optimisée pour microcontrôleurs. Cela permet de débuter vos développements plus rapidement et plus facilement qu'avec des plateformes orientés C/C++.
   −
When booting, two files are executed automatically: first boot.py and then main.py. These are placed in the /flash folder on the board. Any other files or libraries can be placed here as well, and included or used from boot.py or main.py.
+
Lorsque le WiPy démarre (boot), deux fichiers sont automatiquement exécutés: d'abord {{fname|boot.py}} puis {{fname|main.py}}. Ces fichiers sont placés dans le répertoire {{fname|/flash}} de la carte. Tous les autres fichiers et bibliothèques peuvent également être placés ici pour être importé ou utilisé depuis boot.py (ou main.py).
   −
The folder structure in /flash looks like the picture below. The files can be managed either using [[hack-pycom-lopy-ftp|FTP]] or using [[hack-pycom-lopy-ftp|Pymakr]].
+
La structure des répertoire dans {{fname|/flash}} ressemble à la capture d'image ci-dessous. Les fichiers peuvent être gérés en utilisant un client [[hack-pycom-lopy-ftp|FTP]] ou [[hack-pycom-lopy-ftp|Pymakr]] ou [[MicroPython-Hack-RShell|RShell (comme avec de nombreuses autres plateformes)]].
    
[[Fichier:Hack-pycom-esp_32-40.png|240px]]
 
[[Fichier:Hack-pycom-esp_32-40.png|240px]]
29 917

modifications

Menu de navigation