Différences entre versions de « Micropython-neotrellis-lib »
Sauter à la navigation
Sauter à la recherche
Ligne 17 : | Ligne 17 : | ||
Sur une plateforme WiFi: | Sur une plateforme WiFi: | ||
− | + | <syntaxhighlight lang="python"> | |
>>> import mip | >>> import mip | ||
>>> mip.install("github:mchobby/micropython-seesaw") | >>> mip.install("github:mchobby/micropython-seesaw") | ||
>>> mip.install("github:mchobby/micropython-neotrellis") | >>> mip.install("github:mchobby/micropython-neotrellis") | ||
− | + | </syntaxhighlight> | |
Ou via l'utilitaire `mpremote` : | Ou via l'utilitaire `mpremote` : | ||
− | + | <syntaxhighlight lang="python"> | |
mpremote mip install github:mchobby/micropython-seesaw | mpremote mip install github:mchobby/micropython-seesaw | ||
mpremote mip install github:mchobby/micropython-neotrellis | mpremote mip install github:mchobby/micropython-neotrellis | ||
+ | </syntaxhighlight> | ||
{{Micropython-neotrellis-TRAILLER}} | {{Micropython-neotrellis-TRAILLER}} |
Version du 7 mars 2025 à 16:03
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