Hack-pycom-lopy-Pymakr
En cours de traduction/élaboration. |
Pymakr - présentation
TODO
Ressources
Liens de téléchargement:
Vous pouvez également trouver le code source sur Github:
- Code source de Pymakr.
- Pymakr-kitchen build tool (Outil de compilation maison pour Pymakr).
Pymakr dispose d'une système de greffons (plugin) et dispose déjà d'un premier greffons pour Pymaker.
Créer un projet
Pymakr has a feature to sync and run your code on your device. This is mostly done using projects. The following steps will get you started.
- In Pymakr, go to Project > New project.
- Give it a name and select a folder for your project, either a new of existing one.
- Create two files: main.py and boot.py, if you don’t already have those.
You can also use FTP to download boot.py and main.py from the board to your project folder, after which you can right-click the project viewer and use the ‘add source files’ option to add them to your project. |
The boot.py file should always have the following code on the top, so we can run our python scripts over serial or telnet:
from machine import UART
import os
uart = UART(0, 115200)
os.dupterm(uart)
https://docs.pycom.io/pycom_esp32/pycom_esp32/toolsandfeatures.html#pymakr-ide
Placer ici la section pymakr-ide de la page "toolsandfeatures"
Tutoriel PyCom Getting started (ESP_32) sous copyright de Damien George et contributeurs en ce qui concerne MicroPython et/ou PyCom en ce qui concerne les informations relatives a WiPy et LoPy.
Tutoriel traduit par Meurisse D. pour MCHobby.be
Traduit avec l'autorisation de micropython.org - Translated with the authorisation of micropython.org
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.