Différences entre versions de « ENG-CANSAT-PICO-THONNY »
Sauter à la navigation
Sauter à la recherche
Ligne 17 : | Ligne 17 : | ||
The beauty about Thonny Python Script editor is that Thonny is written in Python. | The beauty about Thonny Python Script editor is that Thonny is written in Python. | ||
− | [https://thonny.org/ Thonny IDE] is a great python script editor can also be used with MicroPython | + | [https://thonny.org/ Thonny IDE] is a great python script editor can also be used with MicroPython Microcontrolers: |
* Raspberry-Pi Pico | * Raspberry-Pi Pico | ||
* RP2040 base MicroPython board (like PYBStick RP2040 or MicroMod-RP2040, etc) | * RP2040 base MicroPython board (like PYBStick RP2040 or MicroMod-RP2040, etc) | ||
Ligne 30 : | Ligne 30 : | ||
* using the micropython interactive command line (named REPL) | * using the micropython interactive command line (named REPL) | ||
* generating graphical data (an awesome feature) | * generating graphical data (an awesome feature) | ||
+ | |||
+ | == Install Thonny IDE == | ||
+ | |||
+ | {{ambox-stop|text=It is important to have a recent version of thonny and plug-ins to use it with MicroPython boards.}} | ||
+ | |||
{{ENG-CANSAT-PICO-TRAILER}} | {{ENG-CANSAT-PICO-TRAILER}} |
Version du 19 février 2022 à 00:18
Abstract
There is no need for a specific development environment to work with a MicroPython plateforms.
A simple text editor is quite enough to write python scripts.
Command line utility like mpremote can be used to copy/run python scripts on the board.
Thonny editor
By the way, a enhanced tool like Thonny IDE can definitively improve the user experience and interaction with the Pico.
Thonny is multi-plateform editor running on Linux, Windows, Mac.
The beauty about Thonny Python Script editor is that Thonny is written in Python.
Thonny IDE is a great python script editor can also be used with MicroPython Microcontrolers:
- Raspberry-Pi Pico
- RP2040 base MicroPython board (like PYBStick RP2040 or MicroMod-RP2040, etc)
- ESP32 under MicroPython
- ESP8266 under MicroPython
- etc
Thonny offers great features for MicroPython microconroler:
- transfer script to MicroPython microcontroler.
- manage files on the MicroPython microcontroler.
- run script against MicroPython microcontroler.
- using the micropython interactive command line (named REPL)
- generating graphical data (an awesome feature)
Install Thonny IDE
It is important to have a recent version of thonny and plug-ins to use it with MicroPython boards. |
Written by Meurisse D. for MCHobby