Arduino Labs for MicroPython Editor
Arduino Labs for MicroPython
Raspberry Pi OS 64bitRequisitos--Requirements:
Abrimos la terminal y escribimos--Open terminal and type:
ver=21
curl -sL https://deb.nodesource.com/setup_$ver.x | sudo bash -
exit
Tras ello instalamos nodejs--Then this:
sudo apt-get install -y nodejs
Clonamos el código fuente y nos movemos al nuevo directorio--Clone the Source Code and change to the new directory:
git clone https://github.com/arduino/lab-micropython-editor.git
cd lab-micropython-editor/
Instalamos la última versión de npm--Get latest npm version:
sudo npm install -g npm@latest
Ejecutamos--Execute:
npm install
Al finalizar lanzamos Arduino Labs con--Launch Arduino Labs with:
npm run dev
Enchufa tu Pico a la Raspberry Pi y haz click en Connect, elige el puerto correcto.
Plug your Pico to Raspberry Pi and click on Connect and select the correct port.
Verás como carga la REPL, en el caso de la captura tengo CircuitPython y lo tomo bien, pero le cargué el código de ejemplo. -- You will see the REPL, in the screenshot i have CircuitPython but the code loaded is the example code of MicroPython.
Click Run: