Différences entre versions de « FEATHER-CHARGER-MICROPYTHON-MICROBIT »
Ligne 3 : | Ligne 3 : | ||
{{traduction}} | {{traduction}} | ||
− | + | Il est très facile de charger MicroPython sur le BBC micro:bit . Le MicroBit apparaît comme un périphérique de stockage USB lorsque vous branchez la carte sur votre ordinateur. Si vous copiez un firmware (fichier .hex) sur le lecteur alors il sera flashé sur la carte. Vous pouvez utiliser soit [https://www.microbit.co.uk/create-code online BBC micro:bit l'éditeur de code] ou le [http://codewith.mu/ l'éditeur de code mu MicroPython (pour saisir du code MicroPython)] et pousser ce code sur la carte. | |
− | '''Note | + | '''Note à propos de Windows:''' Si vous désirez accéder à la carte en REPL série (via la connexion USB-Série) alors vous aurez besoin de suivre les instructions d'installation du pilote "CDC serial MicroBit" (ci-dessous). |
− | + | Avec [https://www.microbit.co.uk/ l'éditeur en ligne] vous téléchargerez le fichier .hex que vous déposerez sur le lecteur MicroBit. | |
{{ADFImage|FEATHER-CHARGER-MICROPYTHON-MICROBIT-10.png}} | {{ADFImage|FEATHER-CHARGER-MICROPYTHON-MICROBIT-10.png}} | ||
Ligne 13 : | Ligne 13 : | ||
{{ADFImage|FEATHER-CHARGER-MICROPYTHON-MICROBIT-11.png}} | {{ADFImage|FEATHER-CHARGER-MICROPYTHON-MICROBIT-11.png}} | ||
− | + | Avec [http://codewith.mu/ l'éditeur PC mu] il suffira de presser le bouton "flash" lorsque la carte est connecté et vous téléverserez automatiquement le code MicroPython & le firmware sur la board. | |
{{ADFImage|FEATHER-CHARGER-MICROPYTHON-MICROBIT-12.png}} | {{ADFImage|FEATHER-CHARGER-MICROPYTHON-MICROBIT-12.png}} | ||
− | + | Voyez la [[FEATHER-CHARGER-MICROPYTHON-SERIAL-REPL|page REPL-série]] de ce guide pour apprendre comment accéder à '''l'invite REPL''' de la carte. | |
− | == | + | == Installer le pilote CDC Serial sur Windows == |
To access the BBC micro:bit's serial port follow the [https://developer.mbed.org/handbook/Windows-serial-configuration instructions to install the mbed serial port driver]. Once installed the BBC micro:bit should show up as a COM port in Device Manager when connected. | To access the BBC micro:bit's serial port follow the [https://developer.mbed.org/handbook/Windows-serial-configuration instructions to install the mbed serial port driver]. Once installed the BBC micro:bit should show up as a COM port in Device Manager when connected. | ||
{{FEATHER-CHARGER-MICROPYTHON-TRAILER}} | {{FEATHER-CHARGER-MICROPYTHON-TRAILER}} |
Version du 19 novembre 2016 à 20:47
En cours de traduction/élaboration. |
Il est très facile de charger MicroPython sur le BBC micro:bit . Le MicroBit apparaît comme un périphérique de stockage USB lorsque vous branchez la carte sur votre ordinateur. Si vous copiez un firmware (fichier .hex) sur le lecteur alors il sera flashé sur la carte. Vous pouvez utiliser soit online BBC micro:bit l'éditeur de code ou le l'éditeur de code mu MicroPython (pour saisir du code MicroPython) et pousser ce code sur la carte.
Note à propos de Windows: Si vous désirez accéder à la carte en REPL série (via la connexion USB-Série) alors vous aurez besoin de suivre les instructions d'installation du pilote "CDC serial MicroBit" (ci-dessous).
Avec l'éditeur en ligne vous téléchargerez le fichier .hex que vous déposerez sur le lecteur MicroBit.
Crédit: AdaFruit Industries www.adafruit.com
Crédit: AdaFruit Industries www.adafruit.com
Avec l'éditeur PC mu il suffira de presser le bouton "flash" lorsque la carte est connecté et vous téléverserez automatiquement le code MicroPython & le firmware sur la board.
Crédit: AdaFruit Industries www.adafruit.com
Voyez la page REPL-série de ce guide pour apprendre comment accéder à l'invite REPL de la carte.
Installer le pilote CDC Serial sur Windows
To access the BBC micro:bit's serial port follow the instructions to install the mbed serial port driver. Once installed the BBC micro:bit should show up as a COM port in Device Manager when connected.
Source: MicroPython Basics: How to Load MicroPython on a Board
Créé par Tony DiCola pour AdaFruit Industries.
Traduit par Meurisse D. pour MCHobby
Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : « Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.
L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.
Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com