{"id":623,"date":"2021-01-30T15:11:05","date_gmt":"2021-01-30T15:11:05","guid":{"rendered":"https:\/\/picockpit.com\/raspberry-pi\/?p=623"},"modified":"2023-11-25T20:40:52","modified_gmt":"2023-11-25T20:40:52","slug":"raspberry-pi-pico-and-micropython-on-windows","status":"publish","type":"post","link":"https:\/\/picockpit.com\/raspberry-pi\/es\/raspberry-pi-pico-and-micropython-on-windows\/","title":{"rendered":"Raspberry Pi Pico y MicroPython en Windows"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image-1024x576.png\" alt=\"Raspberry Pi Pico y MicroPython en Windows T\u00edtulo de la imagen\" class=\"wp-image-6201\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image-1024x576.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image-300x169.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image-768x432.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image-18x10.png 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Este art\u00edculo responde a la pregunta: \u00bfC\u00f3mo puedo utilizar la Raspberry Pi Pico con MicroPython en Windows? Tambi\u00e9n mostramos c\u00f3mo instalar el controlador adecuado para \"Board CDC\" (como se mostrar\u00e1 el Pico una vez instalado MicroPython) en Windows 8.1. (Tambi\u00e9n discutiremos las diferencias entre MicroPython y CircuitPython cuando sea aplicable - donde la placa se llamar\u00e1 \"CircuitPython CDC Control\"). <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Finalmente, mostraremos c\u00f3mo conectarse al Pico usando PuTTY, y una opci\u00f3n m\u00e1s c\u00f3moda usando Thonny (que es un IDE de Python, \u00a1integrado con el Pico!)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Introducci\u00f3n: \u00bfQu\u00e9 es Pico y qu\u00e9 es MicroPython?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">El <a href=\"https:\/\/www.raspberrypi.org\/products\/raspberry-pi-pico\/\">Raspberry Pi Pico<\/a> es una nueva placa microcontroladora de Raspberry Pi, con el chip microcontrolador RP2040 de desarrollo propio. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Raspberry Pi ha dise\u00f1ado un mont\u00f3n de caracter\u00edsticas interesantes en el RP2040 (mi favorito es PIO - IO programable, donde se puede emular un mont\u00f3n de interfaces de hardware que requieren una sincronizaci\u00f3n precisa, etc.). - Hablar\u00e9 de ello en otro art\u00edculo en el futuro), y el Pico es una plataforma de referencia realmente agradable en la que se implementa el RP2040.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/buyzero.de\/products\/raspberry-pi-pico-mit-rp2040?variant=37942462972084\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"732\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/PICO-BOARD-ANGLE-WHITE1-1024x732.jpg\" alt=\"\" class=\"wp-image-624\" style=\"width:559px;height:399px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/PICO-BOARD-ANGLE-WHITE1-1024x732.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/PICO-BOARD-ANGLE-WHITE1-300x214.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/PICO-BOARD-ANGLE-WHITE1-768x549.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/PICO-BOARD-ANGLE-WHITE1-1536x1097.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/PICO-BOARD-ANGLE-WHITE1.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><a href=\"https:\/\/buyzero.de\/products\/raspberry-pi-pico-mit-rp2040?variant=37942462972084\">Raspberry Pi Pico, una placa de 4 microcontroladores $<\/a><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">\u00bfEn qu\u00e9 se diferencia una Raspberry Pi Pico de una Raspberry Pi Zero W?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">La diferencia entre un microcontrolador (como el <a href=\"https:\/\/buyzero.de\/products\/raspberry-pi-pico-mit-rp2040?variant=37942462972084\">Pico<\/a>) y un ordenador monoplaca (<a href=\"https:\/\/buyzero.de\/collections\/boards-kits\/products\/raspberry-pi-zero-w?variant=38399156114\">digamos Pi Cero W<\/a>) es m\u00e1s o menos as\u00ed: se programa el Pico directamente (por ejemplo, en C), <strong>sin sistema operativo<\/strong>mientras que el<a href=\"https:\/\/buyzero.de\/collections\/boards-kits\/products\/raspberry-pi-zero-w?variant=38399156114\"> Pi Cero W<\/a> suelen ejecutar Linux. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Esto tiene ventajas, como el tiempo real, pero tambi\u00e9n desventajas: hay que saber m\u00e1s sobre el hardware que se utiliza e implementar muchas funciones que se dar\u00edan por sentadas en un sistema operativo moderno (por ejemplo, el acceso a archivos). <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">La Pico tiene menos recursos en comparaci\u00f3n con la Pi Zero W (por ejemplo, mucha menos RAM, sin GPU VideoCore, etc.), pero consume menos energ\u00eda y tiene funciones adicionales, como la ya mencionada PIO y entradas anal\u00f3gicas (ADC). <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">El Pico es una buena opci\u00f3n para proyectos que no requieren necesariamente conectividad de red, salida HDMI, entrada de c\u00e1mara y procesamiento. En otras palabras, si quieres interactuar con hardware, tener una bater\u00eda de larga duraci\u00f3n, etc., entonces el Pico es para ti.  <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u00bfQu\u00e9 software existe ya para el Pico?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">El Pico se puede flashear utilizando diferentes programas, que se proporcionan en <strong>Archivos UF2<\/strong> (<a href=\"https:\/\/www.raspberrypi.org\/documentation\/pico\/getting-started\/\">consulte la gu\u00eda de inicio de Pico<\/a>). Raspberry Pi proporciona varios archivos UF2 para empezar:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.raspberrypi.org\/documentation\/pico\/getting-started\/static\/5d8e777377e8dbe23cf36360d6efc727\/pico_micropython_20210121.uf2\">MicroPython <\/a>(que ser\u00e1 el tema central de este art\u00edculo) y un primo cercano, CircuitPython<\/li>\n\n\n\n<li><a href=\"https:\/\/www.raspberrypi.org\/documentation\/pico\/getting-started\/static\/85aac7081a166b7a3d0739970c3927c9\/blink.uf2\">Parpadear un LED<\/a> (Parpadeo UF2)<\/li>\n\n\n\n<li><a href=\"https:\/\/www.raspberrypi.org\/documentation\/pico\/getting-started\/static\/d211f824b207c328c7cae7b0ff733187\/hello_world.uf2\">Hola mundo<\/a> (dir\u00e1 \"Hola mundo\" si te conectas a trav\u00e9s de un terminal)<\/li>\n\n\n\n<li><a href=\"https:\/\/www.raspberrypi.org\/documentation\/pico\/getting-started\/static\/d6bbb56350627ecd9cf080cbee142b28\/picoprobe.uf2\">Picoprobe <\/a>(usar un Pico para depurar otro Pico)<\/li>\n\n\n\n<li><a href=\"https:\/\/www.raspberrypi.org\/documentation\/pico\/getting-started\/static\/6f6f31460c258138bd33cc96ddd76b91\/flash_nuke.uf2\">Reiniciar memoria flash<\/a> (pondr\u00e1 la memoria Flash vac\u00eda)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Hay mucho m\u00e1s <a href=\"https:\/\/github.com\/raspberrypi\/pico-examples\">de ejemplos que puede encontrar aqu\u00ed<\/a> (c\u00f3digo C).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Nota: <\/strong>Estoy vinculando a los archivos m\u00e1s recientes UF2 a partir de 30.01.2021 - espec\u00edficamente MicroPython podr\u00eda ser actualizado, as\u00ed que aseg\u00farese de comprobar el <a href=\"https:\/\/www.raspberrypi.org\/documentation\/pico\/getting-started\/\">P\u00e1gina de inicio de Raspberry Pi Pico<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">MicroPython<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Si la perspectiva de entrar de lleno y programar en C te parece un poco desalentadora, puedes empezar con MicroPython. En este caso, hay un software preinstalado en la Raspberry Pi Pico (el archivo MicroPython UF2), que ejecutar\u00e1 un peque\u00f1o int\u00e9rprete de Python.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Se llama MicroPython porque no es compatible con toda la biblioteca est\u00e1ndar de Python 3. MicroPython est\u00e1 pensado para entornos limitados, como el Pico. El Pico tiene un total de 2 MB de RAM - esto no se ajusta a todo lo que Python 3 trae consigo. Consulte <a href=\"https:\/\/github.com\/micropython\/micropython\/wiki\/Differences\">esta p\u00e1gina de Github para ver las diferencias entre CPython y MicroPython<\/a>. Adem\u00e1s, aqu\u00ed est\u00e1 el <a href=\"http:\/\/micropython.org\/\">P\u00e1gina principal de MicroPython<\/a>y el <strong><a href=\"http:\/\/docs.micropython.org\/en\/latest\/index.html\">documentaci\u00f3n oficial de MicroPython<\/a><\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">CircuitoPython<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nota: la mayor\u00eda de las instrucciones tambi\u00e9n se aplican a las placas basadas en CircuitPython RP2040 en Windows, por ejemplo la Adafruit Feather RP2040, pero tendr\u00e1s que seguir unos pasos un poco diferentes - se\u00f1alar\u00e9 las diferencias en este art\u00edculo. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CircuitPython es b\u00e1sicamente una variante de MicroPython que est\u00e1 siendo desarrollado por Adafruit. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">La placa en s\u00ed se llamar\u00e1 de manera diferente en el administrador de dispositivos despu\u00e9s de flashear (CircuitPython CDC Control) - y necesitar\u00e1s un software diferente, por supuesto. Esto es lo que necesitas, para empezar:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/circuitpython.org\/board\/adafruit_feather_rp2040\/\">P\u00e1gina de descarga de Adafruit Feather RP2040<\/a> (Archivo CircuitPython 7.0.0 UF2)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">En este art\u00edculo, tambi\u00e9n le mostraremos c\u00f3mo instalar las librer\u00edas CircuitPython en dispositivos basados en RP2040 en Windows, y c\u00f3mo ejecutar y detener programas usando Thonny. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u00bfQu\u00e9 obtendr\u00e1 con MicroPython UF2? <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Una vez que MicroPython est\u00e9 instalado en el Pico, podr\u00e1 conectarse al Pico utilizando la consola serie (mostraremos c\u00f3mo en este art\u00edculo), y empezar a escribir c\u00f3digo Python en el Pico.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Instalaci\u00f3n de MicroPython en el Pico<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Desconecte la alimentaci\u00f3n del Pico<\/li>\n\n\n\n<li>Pulse el bot\u00f3n BOOTSEL y mant\u00e9ngalo pulsado<\/li>\n\n\n\n<li>conecte el Pico a su PC mediante un cable microUSB a USB<\/li>\n\n\n\n<li>ahora puede soltar el bot\u00f3n BOOTSEL<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"498\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-Pico-features-1024x498.jpg\" alt=\"\" class=\"wp-image-627\" style=\"width:676px;height:328px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-Pico-features-1024x498.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-Pico-features-300x146.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-Pico-features-768x373.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-Pico-features-1536x747.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-Pico-features.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Pulsa el bot\u00f3n BOOTSEL y mantenlo pulsado antes de enchufar el cable microUSB <\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">El Pico debe ser visible en su sistema de archivos ahora, como RPI-RP2:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"567\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-1024x567.png\" alt=\"\" class=\"wp-image-628\" style=\"width:667px;height:369px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-1024x567.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-300x166.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-768x426.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image.png 1155w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">El Pico aparece como RPI-RP2<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><em>(Nota al margen: me pregunto qu\u00e9 era RPI-RP1.)<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">El Pico emula una unidad flash FAT32, que tiene dos archivos: INDEX.HTM e INFO_UF2.TXT.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"856\" height=\"666\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-1.png\" alt=\"\" class=\"wp-image-629\" style=\"width:630px;height:490px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-1.png 856w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-1-300x233.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-1-768x598.png 768w\" sizes=\"auto, (max-width: 856px) 100vw, 856px\" \/><figcaption class=\"wp-element-caption\">Administrador de unidades de Windows<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">De hecho, el Administrador de unidades de Windows muestra que Pico es una unidad flash FAT de 128 MB.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>No cometas el error de intentar almacenar archivos en el Pico<\/strong> <strong>as\u00ed<\/strong>ser\u00e1n eliminados silenciosamente. Incluso si parece que se han escrito, eso es s\u00f3lo Windows almacenando en cach\u00e9 las operaciones - \u00a1tus archivos desaparecer\u00e1n! \u00bfHe mencionado ya que el Pico s\u00f3lo tiene 2 MB de Flash? Aqu\u00ed se miente descaradamente sobre los 128 MB (por cierto, se supone que el RP2040 admite hasta 16 MB de flash, AFAIK). <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Nota al margen: Esto me recuerda un poco a mi viaje a la India, donde compr\u00e9 unidades de memoria USB con 128 GB de capacidad, que grababan tus datos en el Nirvana. Cuando intent\u00e9 devolver la unidad y recuperar mi dinero, el vendedor se hab\u00eda ido... las aventuras que hay que vivir \ud83d\ude42 .<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sin embargo, si copias el tipo correcto de archivo - el archivo UF2 - en esta unidad, ser\u00e1 reconocido y escrito. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"998\" height=\"454\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-2.png\" alt=\"\" class=\"wp-image-630\" style=\"width:670px;height:305px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-2.png 998w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-2-300x136.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-2-768x349.png 768w\" sizes=\"auto, (max-width: 998px) 100vw, 998px\" \/><figcaption class=\"wp-element-caption\">Copiar el archivo Micropython UF2 al Pico<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Puedes arrastrarlo y soltarlo desde tu navegador, despu\u00e9s de haberlo descargado, o copiarlo y pegarlo. Una vez que haya terminado de copiar, el Pico se reiniciar\u00e1 autom\u00e1ticamente, y usted no ver\u00e1 una unidad flash m\u00e1s. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nota: Si desea utilizar CircuitPython, por supuesto, utilice el archivo CircuitPython UF2 en su lugar en este paso. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"866\" height=\"675\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-3.png\" alt=\"\" class=\"wp-image-631\" style=\"width:673px;height:524px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-3.png 866w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-3-300x234.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-3-768x599.png 768w\" sizes=\"auto, (max-width: 866px) 100vw, 866px\" \/><figcaption class=\"wp-element-caption\">Despu\u00e9s de reiniciar, el Pico ha desaparecido del administrador de unidades de Windows.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">El Pico ahora (despu\u00e9s del reinicio) ejecuta MicroPython, que proporciona un puerto serie (puerto COM) a trav\u00e9s de USB. (En t\u00e9rminos t\u00e9cnicos, se trata de un dispositivo USB de clase 02 =) <strong>Comunicaciones y control de CDC<\/strong> y dispositivo USB Subclase 02). <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conexi\u00f3n a Pico, Windows 10<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Windows 10 nos facilita la conexi\u00f3n al Pico, ya que el controlador de puerto COM necesario (usbser.inf) se instalar\u00e1 y activar\u00e1 autom\u00e1ticamente por ti.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Para comprobar en qu\u00e9 puerto COM est\u00e1, abre el administrador de dispositivos:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"842\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/windows-10-devicemanager--1024x842.jpg\" alt=\"\" class=\"wp-image-634\" style=\"width:677px;height:556px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/windows-10-devicemanager--1024x842.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/windows-10-devicemanager--300x247.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/windows-10-devicemanager--768x632.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/windows-10-devicemanager-.jpg 1267w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Para abrir el administrador de dispositivos, escriba dispositivo en la b\u00fasqueda de Windows y haga clic en Administrador de dispositivos<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Aqu\u00ed, podr\u00e1s ver el nuevo Dispositivo Serie USB, con el n\u00famero de puerto COM (que necesitar\u00e1s en un segundo para conectarte), bajo Puertos (COM &amp; LPT). <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"746\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-pi-pico-micropython-serialdevice-com3-1024x746.jpg\" alt=\"\" class=\"wp-image-635\" style=\"width:634px;height:461px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-pi-pico-micropython-serialdevice-com3-1024x746.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-pi-pico-micropython-serialdevice-com3-300x219.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-pi-pico-micropython-serialdevice-com3-768x560.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-pi-pico-micropython-serialdevice-com3.jpg 1183w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Ha aparecido un nuevo dispositivo serie que permite conectarse al Pico<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Para volver a comprobar que se trata efectivamente del Pico, ejecutando MicroPython, puede hacer lo siguiente: <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Haga clic en Ver y seleccione Dispositivos por contenedor:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"746\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-view-1024x746.jpg\" alt=\"\" class=\"wp-image-636\" style=\"width:626px;height:455px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-view-1024x746.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-view-300x219.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-view-768x560.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-view.jpg 1198w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">El Administrador de dispositivos permite mostrar los dispositivos en diferentes vistas<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Aqu\u00ed ver\u00e1s una entrada \"Board in FS mode\", con los dos nodos \"USB Composite Device\" y \"USB Serial Device (<strong>COM3<\/strong>)\". El COM3 es importante, necesitar\u00e1s usarlo para PuTTY (ver m\u00e1s abajo).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"767\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-1024x767.jpg\" alt=\"\" class=\"wp-image-637\" style=\"width:627px;height:470px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-1024x767.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-300x225.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-768x576.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container.jpg 1169w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Podemos investigar m\u00e1s a fondo los dispositivos haciendo clic con el bot\u00f3n derecho del rat\u00f3n sobre ellos y seleccionando la entrada de propiedades adecuada en el men\u00fa contextual. Las propiedades de Board en modo FS est\u00e1n vac\u00edas:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"680\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/board-in-fs-mode-properties-main.jpg\" alt=\"\" class=\"wp-image-638\" style=\"width:428px;height:485px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/board-in-fs-mode-properties-main.jpg 600w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/board-in-fs-mode-properties-main-265x300.jpg 265w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">El Dispositivo Compuesto USB muestra \"Board in FS mode\" como su Bus report\u00f3 la descripci\u00f3n del dispositivo:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"702\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/board-in-fs-mode.jpg\" alt=\"\" class=\"wp-image-639\" style=\"width:428px;height:496px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/board-in-fs-mode.jpg 606w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/board-in-fs-mode-259x300.jpg 259w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Nota: este es el Pico ejecutando MicroPython. Cuando lo reprogrames con otro software, mostrar\u00e1 resultados diferentes aqu\u00ed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">El propio dispositivo serie USB mostrar\u00e1 algunas propiedades interesantes:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"628\" height=\"390\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-board-cdc.jpg\" alt=\"\" class=\"wp-image-640\" style=\"width:444px;height:276px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-board-cdc.jpg 628w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-board-cdc-300x186.jpg 300w\" sizes=\"auto, (max-width: 628px) 100vw, 628px\" \/><figcaption class=\"wp-element-caption\">La descripci\u00f3n del dispositivo informada por Bus es \"Board CDC\".<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Nota: la descripci\u00f3n del dispositivo de la placa ser\u00e1 \"CircuitPython CDC Control\" en lugar de \"Board CDC\" si est\u00e1 utilizando CircuitPython. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"619\" height=\"692\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-port-settings.jpg\" alt=\"\" class=\"wp-image-641\" style=\"width:453px;height:506px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-port-settings.jpg 619w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-port-settings-268x300.jpg 268w\" sizes=\"auto, (max-width: 619px) 100vw, 619px\" \/><figcaption class=\"wp-element-caption\">La configuraci\u00f3n por defecto de los puertos es de 9600 bits por segundo, 8 bits de datos, sin paridad, 1 bit de parada, sin control de flujo - y funcionan (ver m\u00e1s abajo)<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"684\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-usb-class-subclass.jpg\" alt=\"\" class=\"wp-image-642\" style=\"width:446px;height:498px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-usb-class-subclass.jpg 612w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-usb-class-subclass-268x300.jpg 268w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><figcaption class=\"wp-element-caption\">La clase USB es 02 y la subclase USB es 02<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Si sabe lo que est\u00e1 buscando, los identificadores de hardware (VID = identificador de proveedor y PID = identificador de producto) son \u00fatiles:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"611\" height=\"689\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-vendorid-product-id.jpg\" alt=\"\" class=\"wp-image-643\" style=\"width:457px;height:515px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-vendorid-product-id.jpg 611w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-vendorid-product-id-266x300.jpg 266w\" sizes=\"auto, (max-width: 611px) 100vw, 611px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">VID_2E8A -&gt; el identificador de proveedor es <strong>2E8A <\/strong>(en hexadecimal) o <strong>11914 <\/strong>(en decimal), que es <strong>Raspberry Pi<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PID_0005 -&gt; el id del producto es <strong>5<\/strong>que la placa mostrar\u00e1 al ejecutar MicroPython (el id de producto por defecto es <strong>3<\/strong>)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Nota: Registro de depuraci\u00f3n del navegador Chrome<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Esta informaci\u00f3n tambi\u00e9n puede obtenerse utilizando el navegador Chrome. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"chrome:\/\/device-log\">chrome:\/\/device-log<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">le permitir\u00e1 ver los Dispositivos actualmente conectados<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"90\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-4-1024x90.png\" alt=\"\" class=\"wp-image-644\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-4-1024x90.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-4-300x26.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-4-768x68.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-4-1536x135.png 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-4.png 1874w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">En la captura de pantalla anterior se ve la salida del registro de dispositivos de Chrome, mostrando c\u00f3mo el Pico aparece como \"Raspberry Pi\", \"RP2 Boot\" antes de flashear con MicroPython, y como \"MicroPython\", \"Board in FS mode\". \u00a1F\u00edjate en los diferentes ids de producto!<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Volver a Windows 10: <\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"607\" height=\"685\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/usbser.inf-installed-windows10.jpg\" alt=\"\" class=\"wp-image-647\" style=\"width:426px;height:481px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/usbser.inf-installed-windows10.jpg 607w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/usbser.inf-installed-windows10-266x300.jpg 266w\" sizes=\"auto, (max-width: 607px) 100vw, 607px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Como puede ver en la captura de pantalla anterior, Windows 10 ha instalado autom\u00e1ticamente usbser (USB Serial Driver) para que pueda empezar a utilizar Pico inmediatamente.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PuTTY<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">PuTTY es un cliente telnet \/ SSH. Lo utilizar\u00e1 para conectarse al Pico y hablar con el REPL de MicroPython. <a href=\"https:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/latest.html\">Descargue PuTTY aqu\u00ed<\/a>. (Puede utilizar el instalador de Windows MSI de 64 bits para la mayor\u00eda de las instalaciones de Windows 10).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Abra PuTTY. Introduzca la configuraci\u00f3n correcta:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"668\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/putty-setup.jpg\" alt=\"\" class=\"wp-image-650\" style=\"width:476px;height:468px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/putty-setup.jpg 680w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/putty-setup-300x295.jpg 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>El tipo de conexi\u00f3n debe ser <strong>Serie<\/strong><\/li>\n\n\n\n<li>Serial Line necesita ser ajustado a lo que su investigaci\u00f3n de arriba arroj\u00f3. En mi caso, es <strong>COM3<\/strong>. En su caso, lo m\u00e1s probable es que sea algo diferente.<\/li>\n\n\n\n<li>La velocidad se puede dejar en 9600 por ahora<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Haga clic en Abrir, y se abrir\u00e1 un Terminal:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"988\" height=\"580\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/putty-hello-world.jpg\" alt=\"\" class=\"wp-image-651\" style=\"width:656px;height:385px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/putty-hello-world.jpg 988w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/putty-hello-world-300x176.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/putty-hello-world-768x451.jpg 768w\" sizes=\"auto, (max-width: 988px) 100vw, 988px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Para acceder a la pantalla inicial, pulse Intro una vez<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Entonces puedes empezar a escribir c\u00f3digo Python despu\u00e9s del prompt, que ser\u00e1 interpretado inmediatamente. Prueba a escribir el cl\u00e1sico \"Hola mundo\":<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"print(&quot;Hello world!&quot;)\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #88C0D0\">print<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">Hello world!<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">MicroPython responder\u00e1 con<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>\u00a1Hola, mundo!<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">como era de esperar \ud83d\ude42 .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Una vez establecido el contacto inicial, le deseo una feliz codificaci\u00f3n. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Thonny: un IDE de Python, \u00a1funciona con Pico!<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Utilizar PuTTY no es muy c\u00f3modo para sesiones m\u00e1s largas, o cuando quieres cargar mucho c\u00f3digo en tu Pico. Por suerte, la aplicaci\u00f3n de c\u00f3digo abierto Thonny (que se instala por defecto en Raspberry Pi OS) tambi\u00e9n est\u00e1 disponible para Windows e integra compatibilidad con Pico (MicroPython y CircuitPython).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Primer paso<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/thonny.org\/\">Descargue Thonny aqu\u00ed<\/a>e inst\u00e1lelo<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Segundo paso<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Conecte su Pico, como se describi\u00f3 anteriormente - ahora debe tener un n\u00famero COM - si lo desea, puede probar utilizando el m\u00e9todo PuTTY descrito anteriormente, si puede llegar a su Pico.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tercer paso<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Inicie Thonny y haga clic en el bot\u00f3n <strong>Herramientas<\/strong> seleccione <strong>Opciones<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"819\" height=\"724\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image.png\" alt=\"\" class=\"wp-image-684\" style=\"width:604px;height:534px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image.png 819w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-300x265.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-768x679.png 768w\" sizes=\"auto, (max-width: 819px) 100vw, 819px\" \/><figcaption class=\"wp-element-caption\">Thonny pantalla de inicio por defecto en Windows, men\u00fa Herramientas, seleccione Opciones aqu\u00ed.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>Cuarto paso<\/strong>: establece Pico como int\u00e9rprete<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Haga clic en la pesta\u00f1a Int\u00e9rprete. Ver\u00e1 esta pantalla por defecto:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"707\" height=\"607\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-1.png\" alt=\"\" class=\"wp-image-685\" style=\"width:616px;height:529px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-1.png 707w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-1-300x258.png 300w\" sizes=\"auto, (max-width: 707px) 100vw, 707px\" \/><figcaption class=\"wp-element-caption\">El mismo int\u00e9rprete que ejecuta Thonny (por defecto) es el Interpeter por defecto<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Haga clic y seleccione MicroPython (Raspberry Pi Pico)<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"652\" height=\"300\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-2.png\" alt=\"\" class=\"wp-image-686\" style=\"width:604px;height:278px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-2.png 652w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-2-300x138.png 300w\" sizes=\"auto, (max-width: 652px) 100vw, 652px\" \/><figcaption class=\"wp-element-caption\">MicroPython (Raspberry Pi Pico) est\u00e1 integrado en Thonny<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>Nota<\/strong>: si utiliza <strong>CircuitoPython<\/strong>debe seleccionar \"<strong>CircuitPython (gen\u00e9rico)<\/strong>\" en este men\u00fa desplegable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Puede dejar el puerto en \"intentar detectar el puerto autom\u00e1ticamente\", o establecer un puerto espec\u00edfico (ya hemos visto m\u00e1s arriba c\u00f3mo se puede determinar el n\u00famero de puerto correcto).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"606\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-3.png\" alt=\"\" class=\"wp-image-687\" style=\"width:568px;height:486px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-3.png 708w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-3-300x257.png 300w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><figcaption class=\"wp-element-caption\">Intenta detectar el puerto autom\u00e1ticamente<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Nota: el puerto debe seguir apareciendo en el men\u00fa desplegable, por lo que puede ser una buena idea volver a comprobar que est\u00e1 ah\u00ed:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"627\" height=\"121\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-4.png\" alt=\"\" class=\"wp-image-688\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-4.png 627w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-4-300x58.png 300w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><figcaption class=\"wp-element-caption\">en mi ordenador, el Board CDC (Pico con MicroPython) est\u00e1 en el puerto COM5<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Lo dejo como \"intentar detectar el puerto autom\u00e1ticamente\". <strong>Haga clic en Aceptar para guardar la configuraci\u00f3n.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">La pantalla deber\u00eda cambiar a este aspecto:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"818\" height=\"722\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-5.png\" alt=\"\" class=\"wp-image-689\" style=\"width:575px;height:508px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-5.png 818w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-5-300x265.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-5-768x678.png 768w\" sizes=\"auto, (max-width: 818px) 100vw, 818px\" \/><figcaption class=\"wp-element-caption\">Observe el prompt de MicroPython, con Raspberry Pi Pico con RP2040<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>Quinto paso: probar<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ahora puede probar la comunicaci\u00f3n con el Pico.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tipo<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"print(&quot;Hello world&quot;)\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #88C0D0\">print<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">Hello world<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">en el prompt de MicroPython, y pulse intro<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"794\" height=\"263\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-6.png\" alt=\"\" class=\"wp-image-690\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-6.png 794w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-6-300x99.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-6-768x254.png 768w\" sizes=\"auto, (max-width: 794px) 100vw, 794px\" \/><figcaption class=\"wp-element-caption\">Hola mundo, a la manera de picockpit.com \ud83d\ude42 .<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Ver\u00e1s que el Pico te responde.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Enhorabuena, \u00a1ha conectado correctamente Thonny con el Pico en Windows!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Scripts m\u00e1s complejos: Parpadeo de un LED con Thonny<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">El REPL (read evaluate print loop) que acabas de ver est\u00e1 bien, pero para proyectos m\u00e1s complejos, nos gustar\u00eda introducir primero el c\u00f3digo fuente, o cargarlo desde un archivo.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Para esto se puede utilizar la parte superior de la ventana Thonny. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Introduce tu c\u00f3digo. En mi ejemplo, vamos a parpadear el LED de la placa (que es el equivalente de hardware hola mundo), y el bucle para siempre.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"import timefrom machine import Pinprint(&quot;Welcome to Pico example 2, blinking an LED&quot;)led = Pin(25, Pin.OUT)# For demo purposes, we have an infinite loop herewhile True:    led.high()    time.sleep(0.5)    led.low()    time.sleep(0.5)\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #81A1C1\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">time<\/span><\/span>\n<span class=\"line\"><span style=\"color: #81A1C1\">from<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">machine<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">Pin<\/span><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">print<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">Welcome to Pico example 2, blinking an LED<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">led<\/span><span style=\"color: #D8DEE9FF\"> = <\/span><span style=\"color: #8FBCBB\">Pin<\/span><span style=\"color: #D8DEE9FF\">(25<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">Pin<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">OUT<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\"># <\/span><span style=\"color: #8FBCBB\">For<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">demo<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">purposes<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">we<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">have<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">an<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">infinite<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">loop<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">here<\/span><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">while<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">True<\/span><span style=\"color: #D8DEE9FF\">:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #8FBCBB\">led<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">high<\/span><span style=\"color: #D8DEE9FF\">()<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #8FBCBB\">time<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">sleep<\/span><span style=\"color: #D8DEE9FF\">(0.5)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #8FBCBB\">led<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">low<\/span><span style=\"color: #D8DEE9FF\">()<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #8FBCBB\">time<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">sleep<\/span><span style=\"color: #D8DEE9FF\">(0.5)<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Preste atenci\u00f3n a la indentaci\u00f3n adecuada en Python (los espacios en blanco se utilizan con fines de control en Python).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"819\" height=\"731\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-7.png\" alt=\"\" class=\"wp-image-693\" style=\"width:586px;height:523px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-7.png 819w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-7-300x268.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-7-768x685.png 768w\" sizes=\"auto, (max-width: 819px) 100vw, 819px\" \/><figcaption class=\"wp-element-caption\">El c\u00f3digo para hacer parpadear el LED de a bordo<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Ahora haga clic en el bot\u00f3n \"Ejecutar<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"24\" height=\"34\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-8.png\" alt=\"\" class=\"wp-image-694\" style=\"width:24px;height:34px\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Thonny te preguntar\u00e1 d\u00f3nde guardar para<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"286\" height=\"248\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-9.png\" alt=\"\" class=\"wp-image-695\"\/><figcaption class=\"wp-element-caption\">\u00bfGuardar en este ordenador o en Raspberry Pi Pico?<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Seleccione Raspberry Pi Pico:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"736\" height=\"496\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-10.png\" alt=\"\" class=\"wp-image-696\" style=\"width:585px;height:394px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-10.png 736w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-10-300x202.png 300w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">He elegido llamar al archivo hola.py - Pulsa OK para guardarlo<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Una vez pulsado el bot\u00f3n OK, su c\u00f3digo comenzar\u00e1 a ejecutarse. El LED integrado en el Pico deber\u00eda empezar a parpadear y ver\u00e1s la salida en el Shell:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"819\" height=\"732\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-11.png\" alt=\"\" class=\"wp-image-697\" style=\"width:629px;height:562px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-11.png 819w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-11-300x268.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-11-768x686.png 768w\" sizes=\"auto, (max-width: 819px) 100vw, 819px\" \/><figcaption class=\"wp-element-caption\">%Run -c $EDITOR_CONTENT<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Nota: No tuve que introducir el comando %Run -c $EDITOR_CONTENT, Thonny lo hac\u00eda por s\u00ed mismo. La salida de abajo es de nuestro c\u00f3digo.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">CircuitPython en Thonny con Windows<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Siga los mismos pasos, pero seleccione CircuitPython (gen\u00e9rico) como int\u00e9rprete.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"606\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-5.png\" alt=\"\" class=\"wp-image-1146\" style=\"width:594px;height:508px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-5.png 708w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-5-300x257.png 300w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">La concha Thonny le mostrar\u00e1 una confirmaci\u00f3n diferente:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1009\" height=\"483\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-6.png\" alt=\"\" class=\"wp-image-1147\" style=\"width:640px;height:306px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-6.png 1009w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-6-300x144.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-6-768x368.png 768w\" sizes=\"auto, (max-width: 1009px) 100vw, 1009px\" \/><figcaption class=\"wp-element-caption\">Dice: Adafruit CircuitPython 7.0.0 el 2021-09-20; Adafruit Feather RP2040 con rp2040<br>Adafruit CircuitPython 7.0.0 el 2021-09-20; Adafruit Feather RP2040 con rp2040<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Windows 8.1<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"232\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-5.png\" alt=\"\" class=\"wp-image-654\" style=\"width:764px;height:222px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-5.png 798w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-5-300x87.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-5-768x223.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><figcaption class=\"wp-element-caption\">La Raspberry Pi Pico es \"Board CDC\", y se muestra en un estado de error<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Windows 8.1 NO cargar\u00e1 autom\u00e1ticamente el controlador serie y mostrar\u00e1 el dispositivo en estado de error.  <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nota: con CircuitPython, el nombre del dispositivo ser\u00e1 \"CircuitPython CDC control\" en su lugar. Mismo procedimiento. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"291\" height=\"116\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-1.png\" alt=\"\" class=\"wp-image-1134\"\/><figcaption class=\"wp-element-caption\">Control CDC de CircuitPython en Windows 8.1<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">As\u00ed es como se ven las propiedades de la placa CDC (el Pico que ejecuta MicroPython):<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"547\" height=\"565\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-6.png\" alt=\"\" class=\"wp-image-655\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-6.png 547w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-6-290x300.png 290w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"548\" height=\"567\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-7.png\" alt=\"\" class=\"wp-image-656\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-7.png 548w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-7-290x300.png 290w\" sizes=\"auto, (max-width: 548px) 100vw, 548px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Dice que no se instalaron los controladores para este dispositivo (C\u00f3digo 28). <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Una soluci\u00f3n para resolver este problema es el <a href=\"https:\/\/zadig.akeo.ie\/\">Herramienta Zadig<\/a>que puede descargar gratuitamente:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/zadig.akeo.ie\/downloads\/\"><strong>Descargue Zadig-2.5.exe aqu\u00ed<\/strong><\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Atenci\u00f3n: <\/strong>Varios esc\u00e1neres de virus parecen coincidir en que el archivo installer_x64.exe contenido en Zadig 2.7 contiene \"Trojan.Tedy\".  Sin embargo, puede que se trate de una falsa alarma: recomiendo utilizar <strong>Zadig-2.5.exe<\/strong> en su lugar, que no me dio estas advertencias (s\u00f3lo verificado por segunda vez). M\u00e1s vale prevenir que curar.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"271\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-19.png\" alt=\"\" class=\"wp-image-671\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-19.png 560w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-19-300x145.png 300w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>Zadig <\/strong>le ayuda a instalar controladores USB gen\u00e9ricos para ayudarle a acceder a dispositivos USB. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">En nuestro caso queremos el controlador USB Serial (CDC).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Seleccione Board CDC (Interface 0) en el men\u00fa desplegable de arriba, el USB Serial (CDC) en el otro campo. Haga clic en Instalar controlador. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tras la instalaci\u00f3n, ver\u00e1 que el controlador se ha configurado como usbser (v1.0.0.0):<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"689\" height=\"316\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-20.png\" alt=\"\" class=\"wp-image-673\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-20.png 689w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-20-300x138.png 300w\" sizes=\"auto, (max-width: 689px) 100vw, 689px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Y podr\u00e1s conectarte, como he descrito en Windows 10, utilizando el n\u00famero de puerto COM correcto:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"796\" height=\"189\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-22.png\" alt=\"\" class=\"wp-image-675\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-22.png 796w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-22-300x71.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-22-768x182.png 768w\" sizes=\"auto, (max-width: 796px) 100vw, 796px\" \/><figcaption class=\"wp-element-caption\">El administrador de dispositivos muestra el CDC de la placa ahora con el controlador<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"846\" height=\"537\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-21.png\" alt=\"\" class=\"wp-image-674\" style=\"width:783px;height:497px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-21.png 846w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-21-300x190.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-21-768x487.png 768w\" sizes=\"auto, (max-width: 846px) 100vw, 846px\" \/><figcaption class=\"wp-element-caption\">Hola mundo para MicroPython en Pico con Windows 8.1<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">nota al margen:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"565\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-23.png\" alt=\"\" class=\"wp-image-676\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-23.png 560w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-23-297x300.png 297w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-23-150x150.png 150w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><figcaption class=\"wp-element-caption\">Este es el di\u00e1logo, mostrando libwdi como fabricante del driver<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Puerto Pico\/Serial en Windows 7<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Seg\u00fan un cliente, <a href=\"https:\/\/zadig.akeo.ie\/\">Zadig <\/a>\u00a1ayud\u00f3 a instalar el controlador del puerto serie en Windows 7 tambi\u00e9n, y el Pico era utilizable despu\u00e9s! Aseg\u00farese de utilizar <a href=\"https:\/\/zadig.akeo.ie\/downloads\/\">Zadig 2,5<\/a>ya que el nuevo Zadig 2.7 fue marcado por mi esc\u00e1ner de virus durante la instalaci\u00f3n del controlador. (No estoy seguro de por qu\u00e9, pero m\u00e1s vale prevenir que curar - el viejo funciona)  <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Si necesita una gu\u00eda paso a paso, consulte la gu\u00eda para Windows 8.1 anterior; deber\u00eda ser bastante similar en un equipo con Windows 8.1.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Instalaci\u00f3n de librer\u00edas y programaci\u00f3n de una placa CircuitPython RP2040 en Windows<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Si est\u00e1s usando por ejemplo un Adafruit Feather RP2040, puede que quieras usar CircuitPython en \u00e9l. Adafruit tiene un <a href=\"https:\/\/learn.adafruit.com\/adafruit-feather-rp2040-pico\/built-in-neopixel-led\">NeoPixel RGB<\/a> en \u00e9l, que necesita que se instalen bibliotecas en el <strong>lib <\/strong>del dispositivo. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(Nota: <a href=\"https:\/\/learn.adafruit.com\/adafruit-feather-rp2040-pico\/built-in-neopixel-led\">descargue las bibliotecas aqu\u00ed<\/a> - haga clic en el enlace \"Descargar paquete de proyectos\"). <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cuando extraigas la carpeta del paquete del proyecto, ver\u00e1s dos subcarpetas diferentes con CircuitPython 6.x y CircuitPython 7.x <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"745\" height=\"241\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-7.png\" alt=\"\" class=\"wp-image-1152\" style=\"width:692px;height:224px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-7.png 745w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-7-300x97.png 300w\" sizes=\"auto, (max-width: 745px) 100vw, 745px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Estoy usando la versi\u00f3n CircuitPython 7.x aqu\u00ed, como he flasheado el <a href=\"https:\/\/circuitpython.org\/board\/adafruit_feather_rp2040\/\">7.0.0 Versi\u00f3n de CircuitPython<\/a>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">En el Explorador ver\u00e1 una unidad llamada \"CIRCUITPY\":<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"375\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-8-1024x375.png\" alt=\"\" class=\"wp-image-1153\" style=\"width:769px;height:281px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-8-1024x375.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-8-300x110.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-8-768x281.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-8.png 1130w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Unidad CIRCUITPY y su contenido inicial (lib, boot_out.txt, code.py)<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">El <strong>lib <\/strong>est\u00e1 vac\u00eda con una nueva instalaci\u00f3n de CircuitPython. Usando el Explorador de Windows podemos simplemente copiar y pegar archivos aqu\u00ed. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> Copie las bibliotecas necesarias de la carpeta lib descargada en la carpeta lib de CIRCUITPY:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"957\" height=\"223\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-9.png\" alt=\"\" class=\"wp-image-1154\" style=\"width:771px;height:179px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-9.png 957w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-9-300x70.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-9-768x179.png 768w\" sizes=\"auto, (max-width: 957px) 100vw, 957px\" \/><figcaption class=\"wp-element-caption\">copiar las bibliotecas necesarias en la carpeta lib<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Ahora tambi\u00e9n podemos sobrescribir code.py:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"407\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-10.png\" alt=\"\" class=\"wp-image-1155\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-10.png 577w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-10-300x212.png 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><figcaption class=\"wp-element-caption\">reemplazar code.py<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Usando Thonny podemos editar y ejecutar el archivo code.py. Haz clic en el icono de abrir en Thonny, y selecciona \"CircuitPython device\" en el di\u00e1logo \"Where to open from\":<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"334\" height=\"250\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-11.png\" alt=\"\" class=\"wp-image-1156\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-11.png 334w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-11-300x225.png 300w\" sizes=\"auto, (max-width: 334px) 100vw, 334px\" \/><figcaption class=\"wp-element-caption\">Seleccione aqu\u00ed el dispositivo CircuitPython<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"> Y aqu\u00ed puedes abrir code.py:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"739\" height=\"495\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-12.png\" alt=\"\" class=\"wp-image-1157\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-12.png 739w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-12-300x201.png 300w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><figcaption class=\"wp-element-caption\">Haga clic en code.py y OK<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Ahora tu ventana de Thonny deber\u00eda parecerse un poco a esto:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"373\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-13-1024x373.png\" alt=\"\" class=\"wp-image-1158\" style=\"width:760px;height:276px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-13-1024x373.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-13-300x109.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-13-768x280.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-13-1536x560.png 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-13.png 1915w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">code.py se muestra en la parte superior, el Shell se muestra en la parte inferior<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Pulse F5 en el teclado o haga clic en el icono de ejecuci\u00f3n <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"29\" height=\"30\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-14.png\" alt=\"\" class=\"wp-image-1159\" style=\"width:29px;height:30px\"\/><figcaption class=\"wp-element-caption\">el icono de ejecuci\u00f3n<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Si todo ha ido bien, el LED NeoPixel RGB de tu Adafruit Feather RP2040 ahora deber\u00eda empezar a parpadear en diferentes colores. Enhorabuena \ud83d\ude42 .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ahora puedes seguir adelante y jugar con el script - posiblemente podr\u00edas modificar los colores, o el tiempo entre los cambios de color? O a\u00f1adir otras funciones. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Para poder ejecutar su script modificado, pulse Ctrl + C en el Shell (o seleccione Ejecutar &gt; Interrumpir ejecuci\u00f3n en el men\u00fa de Thonny). Ahora puede cargar su script de nuevo. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Una gran cosa para la depuraci\u00f3n es que usted obtendr\u00e1 la salida de la consola con Thonny, por lo que puede utilizar sentencias print para la salida de informaci\u00f3n:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"511\" height=\"336\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-15.png\" alt=\"\" class=\"wp-image-1160\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-15.png 511w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-15-300x197.png 300w\" sizes=\"auto, (max-width: 511px) 100vw, 511px\" \/><figcaption class=\"wp-element-caption\">Thonny imprimiendo sentencias desde el Adafruit Feather RP2040<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Paquete Adafruit CircuitPython <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Adafruit proporciona una c\u00f3moda descarga de m\u00faltiples librer\u00edas en un ZIP. Descargue el adafruit-circuitpython-bundle-7.x.-mpy o -6.x. mpy correspondiente. <a href=\"https:\/\/github.com\/adafruit\/Adafruit_CircuitPython_Bundle\/releases\">aqu\u00ed<\/a>. Puedes instalar varias o todas las librer\u00edas como se discuti\u00f3 anteriormente simplemente usando el Explorador de Windows.  Una carga completa de todas las librer\u00edas tendr\u00eda un tama\u00f1o aproximado de 1.2 MB, el Adafruit Feather RP2040 tiene suficiente espacio para permitir esto. La copia puede tardar un par de minutos.  <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"579\" height=\"374\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-16.png\" alt=\"\" class=\"wp-image-1165\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-16.png 579w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-16-300x194.png 300w\" sizes=\"auto, (max-width: 579px) 100vw, 579px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Notas varias<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u00bfPuedo utilizar los procedimientos de esta gu\u00eda tambi\u00e9n para CircuitPython? <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Por supuesto que s\u00ed. Por ejemplo puedes usar Zadig en Windows 8.1 (ver la descripci\u00f3n arriba para m\u00e1s detalles. \u00a1Usa la versi\u00f3n 2.5.730 de Zadig!). Usted buscar\u00e1 un dispositivo \"CircuitPython CDC control\" en lugar del dispositivo \"Board CDC\".<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"688\" height=\"317\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-2.png\" alt=\"\" class=\"wp-image-1136\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-2.png 688w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-2-300x138.png 300w\" sizes=\"auto, (max-width: 688px) 100vw, 688px\" \/><figcaption class=\"wp-element-caption\">Zadig para el dispositivo de control CircuitPython CDC<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">\u00bfFalla la instalaci\u00f3n del controlador con Zadig? <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Esto podr\u00eda deberse al software antivirus. Tal vez una falsa alarma, pero no puedo estar seguro de ello. Mi esc\u00e1ner antivirus (Bitdefender) me dice lo siguiente: <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\"El archivo C:\\Users\\Max\\usb_driver\\installer_x64.exe est\u00e1 infectado con Gen:Variant.Tedy.11444 y ha sido eliminado de la cuarentena. Le recomendamos que realice un an\u00e1lisis del sistema para detectar posibles infecciones\". <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"488\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-3-1024x488.png\" alt=\"\" class=\"wp-image-1140\" style=\"width:764px;height:364px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-3-1024x488.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-3-300x143.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-3-768x366.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-3-1536x732.png 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-3.png 1629w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Varios esc\u00e1neres de virus parecen coincidir en que el installer_x64.exe (parte del controlador USB) tiene \"Trojan.Tedy\". Recomiendo probar a utilizar Zadig-2.5.exe en su lugar. <a href=\"https:\/\/zadig.akeo.ie\/downloads\/\">Que puede descargar aqu\u00ed<\/a>. He utilizado Zadig-2.5 para instalar un controlador serie USB CircuitPython en mi instalaci\u00f3n de Windows 8.1 (que es mi m\u00e1quina principal). <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u00bfC\u00f3mo detengo la ejecuci\u00f3n de c\u00f3digo en el Pico en Thonny?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Haz clic en el Shell y pulsa Ctrl+C. Esto deber\u00eda detener la ejecuci\u00f3n del c\u00f3digo actual:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"821\" height=\"732\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-12.png\" alt=\"\" class=\"wp-image-698\" style=\"width:658px;height:587px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-12.png 821w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-12-300x267.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-12-768x685.png 768w\" sizes=\"auto, (max-width: 821px) 100vw, 821px\" \/><figcaption class=\"wp-element-caption\">KeyboardInterrupt detuvo el c\u00f3digo<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Repetici\u00f3n de declaraciones anteriores en Thonny<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Es conveniente volver a ejecutar el mismo comando: pulse la tecla Arriba del teclado en el indicador del int\u00e9rprete de comandos para acceder al historial de comandos anteriores.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u00bfC\u00f3mo s\u00e9 si mi Pi Pico est\u00e1 desconectada de Thonny?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Aparecer\u00e1 un mensaje de error al intentar ejecutar el c\u00f3digo, algo parecido a esto:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"588\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-13-1024x588.png\" alt=\"\" class=\"wp-image-699\" style=\"width:699px;height:401px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-13-1024x588.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-13-300x172.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-13-768x441.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-13.png 1157w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Error al consultar variables globales, serial.serialutil.SerialTimeoutException: Tiempo de espera de escritura<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Esto significa que Thonny no puede escribir en el puerto serie en el que se espera que est\u00e9 el Pico.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"819\" height=\"729\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-14.png\" alt=\"\" class=\"wp-image-700\" style=\"width:694px;height:618px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-14.png 819w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-14-300x267.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-14-768x684.png 768w\" sizes=\"auto, (max-width: 819px) 100vw, 819px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">No se pudo encontrar el dispositivo autom\u00e1ticamente error en Thonny<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Si obtiene el siguiente error<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>No se ha podido encontrar el dispositivo autom\u00e1ticamente.<br>Compruebe la conexi\u00f3n (asegur\u00e1ndose de que el dispositivo no est\u00e1 en modo cargador de arranque) o elija<br>\"Configurar int\u00e9rprete\" en el men\u00fa del int\u00e9rprete (esquina inferior derecha de la ventana)<br>para seleccionar un puerto espec\u00edfico u otro int\u00e9rprete.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Compruebe que ha seleccionado el int\u00e9rprete correcto. Si su dispositivo ejecuta CircuitPython en lugar de MicroPython, debe seleccionar <strong>CircuitPython (gen\u00e9rico)<\/strong> como int\u00e9rprete en Thonny. Consulte la informaci\u00f3n pertinente en este art\u00edculo para obtener instrucciones.  <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u00bfTus consejos para Pico\/MicroPython en Windows?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Haznos saber en los comentarios si tienes alg\u00fan otro consejo para empezar con el Pico y MicroPython en Windows, actualizaremos el art\u00edculo en consecuencia \ud83d\ude42 .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a1Disfruta de tu Pico y divi\u00e9rtete con los incre\u00edbles proyectos que puedes hacer con \u00e9l!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">M\u00e1s entradas del blog de Pico en PiCockpit<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Si le ha gustado leer este art\u00edculo, puede que tambi\u00e9n le guste leer los siguientes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-video-output\/\">Salida de v\u00eddeo mediante Raspberry Pi Pico (VGA y DVI)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/picockpit.com\/raspberry-pi\/circuitpython-adafruit-feather-rp2040-and-i2c\/\">CircuitPython, Adafruit Feather RP2040 e I2C<\/a><\/li>\n<\/ul>\n<div class=\"shariff shariff-align-center shariff-widget-align-left shariff-buttonstretch\"><ul class=\"shariff-buttons theme-white orientation-horizontal buttonsize-medium\"><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fes%2Fraspberry-pi-pico-and-micropython-on-windows%2F&text=Raspberry%20Pi%20Pico%20and%20MicroPython%20on%20Windows\" title=\"Compartir en X\" aria-label=\"Compartir en X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#000\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#000\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#000\">compartir<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fes%2Fraspberry-pi-pico-and-micropython-on-windows%2F\" title=\"Compartir en Facebook\" aria-label=\"Compartir en Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#3b5998\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#3b5998\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#3b5998\">compartir<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button telegram shariff-nocustomcolor\" style=\"background-color:#4084A6\"><a href=\"https:\/\/telegram.me\/share\/url?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fes%2Fraspberry-pi-pico-and-micropython-on-windows%2F&text=Raspberry%20Pi%20Pico%20and%20MicroPython%20on%20Windows\" title=\"Compartir en Telegram\" aria-label=\"Compartir en Telegram\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0088cc; color:#0088cc\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#0088cc\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 32 32\"><path fill=\"#0088cc\" d=\"M30.8 6.5l-4.5 21.4c-.3 1.5-1.2 1.9-2.5 1.2L16.9 24l-3.3 3.2c-.4.4-.7.7-1.4.7l.5-7L25.5 9.2c.6-.5-.1-.8-.9-.3l-15.8 10L2 16.7c-1.5-.5-1.5-1.5.3-2.2L28.9 4.3c1.3-.5 2.3.3 1.9 2.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#0088cc\">compartir<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fes%2Fraspberry-pi-pico-and-micropython-on-windows%2F\" title=\"Compartir en Reddit\" aria-label=\"Compartir en Reddit\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#ff4500\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#ff4500\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#ff4500\">compartir<\/span>&nbsp;<\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>Este art\u00edculo responde a la pregunta: \u00bfC\u00f3mo puedo utilizar la Raspberry Pi Pico con MicroPython en Windows? Tambi\u00e9n mostramos c\u00f3mo instalar el controlador adecuado para \"Board CDC\" (que el Pico se mostrar\u00e1 como una vez que MicroPython est\u00e1 instalado) en Windows 8.1. (Tambi\u00e9n discutiremos las diferencias entre MicroPython y CircuitPython cuando sea aplicable...)<\/p>","protected":false},"author":2,"featured_media":6201,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1193,10,3],"tags":[517,477,16,996,606,597,14,11,221,486,782,476,187,456,993,15,762,749,13,992,995,12,994],"class_list":["post-623","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","category-raspberry-pi-pico","category-raspberry-pi-how-to","tag-adafruit","tag-circuitpython","tag-connect","tag-cpython","tag-linux","tag-microcontroller","tag-micropython","tag-pico","tag-pico-w","tag-project","tag-putty","tag-python","tag-raspberry-pi","tag-raspberry-pi-projects","tag-repl","tag-serial-port","tag-thonny","tag-usb","tag-windows-10","tag-windows-11","tag-windows-7","tag-windows-8-1","tag-zadig"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Raspberry Pi Pico and MicroPython on Windows | PiCockpit<\/title>\n<meta name=\"description\" content=\"A complete guide on MicroPython on a Pi with Windows (7\/8\/10), including instructions on installing and accessing the Pico serial port.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/picockpit.com\/raspberry-pi\/es\/raspberry-pi-pico-and-micropython-on-windows\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Raspberry Pi Pico and MicroPython on Windows | PiCockpit\" \/>\n<meta property=\"og:description\" content=\"A complete guide on MicroPython on a Pi with Windows (7\/8\/10), including instructions on installing and accessing the Pico serial port.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/picockpit.com\/raspberry-pi\/es\/raspberry-pi-pico-and-micropython-on-windows\/\" \/>\n<meta property=\"og:site_name\" content=\"PiCockpit\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pi3gshop\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-30T15:11:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-25T20:40:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"raspi berry\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pi3g\" \/>\n<meta name=\"twitter:site\" content=\"@pi3g\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"raspi berry\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"28 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/\"},\"author\":{\"name\":\"raspi berry\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/7af3a7a8c999bc722029ef9ca9d78eee\"},\"headline\":\"Raspberry Pi Pico and MicroPython on Windows\",\"datePublished\":\"2021-01-30T15:11:05+00:00\",\"dateModified\":\"2023-11-25T20:40:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/\"},\"wordCount\":3569,\"commentCount\":10,\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png\",\"keywords\":[\"Adafruit\",\"circuitpython\",\"connect\",\"cpython\",\"linux\",\"microcontroller\",\"microPython\",\"Pico\",\"Pico W\",\"project\",\"PuTTY\",\"python\",\"Raspberry Pi\",\"Raspberry Pi projects\",\"repl\",\"serial port\",\"thonny\",\"usb\",\"Windows 10\",\"Windows 11\",\"Windows 7\",\"Windows 8.1\",\"zadig\"],\"articleSection\":[\"Python\",\"Raspberry Pi Pico\",\"Tutorials\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/\",\"name\":\"Raspberry Pi Pico and MicroPython on Windows | PiCockpit\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png\",\"datePublished\":\"2021-01-30T15:11:05+00:00\",\"dateModified\":\"2023-11-25T20:40:52+00:00\",\"description\":\"A complete guide on MicroPython on a Pi with Windows (7\\\/8\\\/10), including instructions on installing and accessing the Pico serial port.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#primaryimage\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png\",\"width\":1200,\"height\":675,\"caption\":\"Raspberry Pi Pico and MicroPython on Windows Title Image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/category\\\/raspberry-pi-how-to\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Raspberry Pi Pico and MicroPython on Windows\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"name\":\"PiCockpit\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\",\"name\":\"PiCockpit.com\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"width\":1165,\"height\":283,\"caption\":\"PiCockpit.com\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/pi3gshop\",\"https:\\\/\\\/x.com\\\/pi3g\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/7af3a7a8c999bc722029ef9ca9d78eee\",\"name\":\"raspi berry\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"caption\":\"raspi berry\"},\"description\":\"I'm here to help you with all your Raspberry Pi related questions &amp; love to share about new project ideas for the Raspberry Pi, and give quick tips. Of course I'll also help you with PiCockpit and how to make your Raspberry Pi even easier to use with this raspberry pi monitoring solution :-)\",\"sameAs\":[\"https:\\\/\\\/picockpit.com\"],\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/es\\\/author\\\/raspi-berry\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Raspberry Pi Pico y MicroPyth en Windows | PiCockpit","description":"Una gu\u00eda completa sobre MicroPython en una Pi con Windows (7\/8\/10), incluyendo instrucciones para instalar y acceder al puerto serie Pico.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/picockpit.com\/raspberry-pi\/es\/raspberry-pi-pico-and-micropython-on-windows\/","og_locale":"es_ES","og_type":"article","og_title":"Raspberry Pi Pico and MicroPython on Windows | PiCockpit","og_description":"A complete guide on MicroPython on a Pi with Windows (7\/8\/10), including instructions on installing and accessing the Pico serial port.","og_url":"https:\/\/picockpit.com\/raspberry-pi\/es\/raspberry-pi-pico-and-micropython-on-windows\/","og_site_name":"PiCockpit","article_publisher":"https:\/\/www.facebook.com\/pi3gshop","article_published_time":"2021-01-30T15:11:05+00:00","article_modified_time":"2023-11-25T20:40:52+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png","type":"image\/png"}],"author":"raspi berry","twitter_card":"summary_large_image","twitter_creator":"@pi3g","twitter_site":"@pi3g","twitter_misc":{"Escrito por":"raspi berry","Tiempo de lectura":"28 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#article","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/"},"author":{"name":"raspi berry","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/7af3a7a8c999bc722029ef9ca9d78eee"},"headline":"Raspberry Pi Pico and MicroPython on Windows","datePublished":"2021-01-30T15:11:05+00:00","dateModified":"2023-11-25T20:40:52+00:00","mainEntityOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/"},"wordCount":3569,"commentCount":10,"publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png","keywords":["Adafruit","circuitpython","connect","cpython","linux","microcontroller","microPython","Pico","Pico W","project","PuTTY","python","Raspberry Pi","Raspberry Pi projects","repl","serial port","thonny","usb","Windows 10","Windows 11","Windows 7","Windows 8.1","zadig"],"articleSection":["Python","Raspberry Pi Pico","Tutorials"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/","url":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/","name":"Raspberry Pi Pico y MicroPyth en Windows | PiCockpit","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#website"},"primaryImageOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#primaryimage"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png","datePublished":"2021-01-30T15:11:05+00:00","dateModified":"2023-11-25T20:40:52+00:00","description":"Una gu\u00eda completa sobre MicroPython en una Pi con Windows (7\/8\/10), incluyendo instrucciones para instalar y acceder al puerto serie Pico.","breadcrumb":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#primaryimage","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png","width":1200,"height":675,"caption":"Raspberry Pi Pico and MicroPython on Windows Title Image"},{"@type":"BreadcrumbList","@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/picockpit.com\/raspberry-pi\/"},{"@type":"ListItem","position":2,"name":"Tutorials","item":"https:\/\/picockpit.com\/raspberry-pi\/category\/raspberry-pi-how-to\/"},{"@type":"ListItem","position":3,"name":"Raspberry Pi Pico and MicroPython on Windows"}]},{"@type":"WebSite","@id":"https:\/\/picockpit.com\/raspberry-pi\/#website","url":"https:\/\/picockpit.com\/raspberry-pi\/","name":"PiCockpit","description":"","publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/picockpit.com\/raspberry-pi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization","name":"PiCockpit.com","url":"https:\/\/picockpit.com\/raspberry-pi\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","width":1165,"height":283,"caption":"PiCockpit.com"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pi3gshop","https:\/\/x.com\/pi3g"]},{"@type":"Person","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/7af3a7a8c999bc722029ef9ca9d78eee","name":"baya raspada","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","caption":"raspi berry"},"description":"Estoy aqu\u00ed para ayudarte con todas tus preguntas relacionadas con la Raspberry Pi y me encanta compartir sobre nuevas ideas de proyectos para la Raspberry Pi, y dar consejos r\u00e1pidos. Por supuesto, tambi\u00e9n te ayudar\u00e9 con PiCockpit y c\u00f3mo hacer que tu Raspberry Pi sea a\u00fan m\u00e1s f\u00e1cil de usar con esta soluci\u00f3n de monitoreo de la frambuesa Pi :-)","sameAs":["https:\/\/picockpit.com"],"url":"https:\/\/picockpit.com\/raspberry-pi\/es\/author\/raspi-berry\/"}]}},"_links":{"self":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/es\/wp-json\/wp\/v2\/posts\/623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/es\/wp-json\/wp\/v2\/comments?post=623"}],"version-history":[{"count":30,"href":"https:\/\/picockpit.com\/raspberry-pi\/es\/wp-json\/wp\/v2\/posts\/623\/revisions"}],"predecessor-version":[{"id":6202,"href":"https:\/\/picockpit.com\/raspberry-pi\/es\/wp-json\/wp\/v2\/posts\/623\/revisions\/6202"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/es\/wp-json\/wp\/v2\/media\/6201"}],"wp:attachment":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/es\/wp-json\/wp\/v2\/media?parent=623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/es\/wp-json\/wp\/v2\/categories?post=623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/es\/wp-json\/wp\/v2\/tags?post=623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}