Différences entre versions de « Micropython-neotrellis-lib »
Sauter à la navigation
Sauter à la recherche
(3 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
{{Micropython-neotrellis-NAV}} | {{Micropython-neotrellis-NAV}} | ||
+ | |||
+ | == Introduction == | ||
Il sera nécessaire d'installer les bibliothèques '''SeeSaw''' et '''NeoTrellis''' avant de pouvoir tester les exemples NeoTrellis. | Il sera nécessaire d'installer les bibliothèques '''SeeSaw''' et '''NeoTrellis''' avant de pouvoir tester les exemples NeoTrellis. | ||
Ligne 7 : | Ligne 9 : | ||
* [https://github.com/mchobby/micropython-neotrellis micropython-neotrellis] | * [https://github.com/mchobby/micropython-neotrellis micropython-neotrellis] | ||
− | A noter que la bibliothèque '''seesaw''' nécessite une dépendance supplémentaire | + | A noter que la bibliothèque '''seesaw''' nécessite une dépendance supplémentaire: {{fname|adafruit_pixelbuf.py}} (pour l'instant, cette dernière est incluse directement dans la bibliothèque [https://github.com/mchobby/micropython-seesaw micropython-seesaw]). |
+ | |||
+ | == Installer == | ||
+ | |||
+ | Les bibliothèques peuvent être installées à l'aide de l' [https://docs.micropython.org/en/latest/reference/mpremote.html utilitaire mpremote de MicroPython]. | ||
+ | |||
+ | Sur une plateforme WiFi: | ||
+ | |||
+ | <syntaxhighlight lang="python"> | ||
+ | >>> import mip | ||
+ | >>> mip.install("github:mchobby/micropython-seesaw") | ||
+ | >>> mip.install("github:mchobby/micropython-neotrellis") | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | Ou via l'utilitaire {{fname|mpremote}} : | ||
+ | |||
+ | <syntaxhighlight lang="python"> | ||
+ | mpremote mip install github:mchobby/micropython-seesaw | ||
+ | mpremote mip install github:mchobby/micropython-neotrellis | ||
+ | </syntaxhighlight> | ||
− | {{Micropython-neotrellis- | + | {{Micropython-neotrellis-TRAILER}} |
Version actuelle datée du 7 mars 2025 à 20:53
Introduction
Il sera nécessaire d'installer les bibliothèques SeeSaw et NeoTrellis avant de pouvoir tester les exemples NeoTrellis.
Les bibliothèques MicroPython (rétro-portage de CircuitPython) sont disponibles dans les dépôts suivants:
A noter que la bibliothèque seesaw nécessite une dépendance supplémentaire: adafruit_pixelbuf.py (pour l'instant, cette dernière est incluse directement dans la bibliothèque micropython-seesaw).
Installer
Les bibliothèques peuvent être installées à l'aide de l' utilitaire mpremote de MicroPython.
Sur une plateforme WiFi:
>>> import mip
>>> mip.install("github:mchobby/micropython-seesaw")
>>> mip.install("github:mchobby/micropython-neotrellis")
Ou via l'utilitaire mpremote :
mpremote mip install github:mchobby/micropython-seesaw
mpremote mip install github:mchobby/micropython-neotrellis
Traduction augmentée réalisée par Meurisse. D pour shop.MCHobby.be - Licence CC-BY-SA.