{"id":132407,"date":"2023-06-29T14:14:06","date_gmt":"2023-06-29T14:14:06","guid":{"rendered":"https:\/\/randomnerdtutorials.com\/?p=132407"},"modified":"2024-03-10T11:54:55","modified_gmt":"2024-03-10T11:54:55","slug":"programming-raspberry-pi-pico-w-arduino-ide","status":"publish","type":"post","link":"https:\/\/randomnerdtutorials.com\/programming-raspberry-pi-pico-w-arduino-ide\/","title":{"rendered":"Programming Raspberry Pi Pico with Arduino IDE (Pico W compatible)"},"content":{"rendered":"\n<p>Learn how to program the Raspberry Pi Pico using Arduino IDE software. The Raspberry Pi Pico is a low-cost microcontroller board developed around the RP2040 chip by the Raspberry Pi Foundation and it can be programmed using MicroPython or C\/C++ like the Arduino. In this tutorial, you&#8217;ll learn how to set up Arduino IDE to start programming your Raspberry Pico and Pico W boards with C\/C++ programming language.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/06\/Raspberry-Pi-Pico-Arduino-IDE-2.jpg?resize=1200%2C675&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Programming Raspberry Pi Pico with Arduino IDE\" class=\"wp-image-150052\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/06\/Raspberry-Pi-Pico-Arduino-IDE-2.jpg?w=1280&amp;quality=100&amp;strip=all&amp;ssl=1 1280w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/06\/Raspberry-Pi-Pico-Arduino-IDE-2.jpg?resize=300%2C169&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/06\/Raspberry-Pi-Pico-Arduino-IDE-2.jpg?resize=1024%2C576&amp;quality=100&amp;strip=all&amp;ssl=1 1024w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/06\/Raspberry-Pi-Pico-Arduino-IDE-2.jpg?resize=768%2C432&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure><\/div>\n\n\n<p class=\"rntbox rntclgreen\">New to the Raspberry Pi Pico? <a href=\"https:\/\/randomnerdtutorials.com\/getting-started-raspberry-pi-pico-w\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Read our Raspberry Pi Pico Getting Started Guide<\/a>.<\/p>\n\n\n\n<p><strong>Don&#8217;t have a Raspberry Pi Pico yet?<\/strong> <a href=\"https:\/\/makeradvisor.com\/tools\/raspberry-pi-pico-w\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Check it out here<\/a>.<\/p>\n\n\n\n<p><strong>Table of Contents<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#install-arduino-ide\" title=\"\">Installing Arduino IDE<\/a><\/li>\n\n\n\n<li><a href=\"#Raspberry-Pi-Pico-Boards-Manager\" title=\"\">Adding the Raspberry Pi Pico to the Boards Manager<\/a><\/li>\n\n\n\n<li><a href=\"#rpi-pico-arduino-ide-programming\" title=\"\">Programming the Raspberry Pi Pico Using Arduino IDE<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"rntbox rntclgreen\">You may also like: <a href=\"https:\/\/randomnerdtutorials.com\/raspberry-pi-pico-w-micropython-ebook\/\" title=\"\"><strong>Learn Raspberry Pi Pico with MicroPython eBook<\/strong><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-arduino-ide\">Installing Arduino IDE<\/h2>\n\n\n\n<p>Before proceeding you need to install Arduino IDE on your computer. Currently, there are two versions of Arduino IDE you can install: version 1 or version 2.<\/p>\n\n\n\n<p>You can download and install Arduino IDE by clicking on the following link:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\" target=\"_blank\" rel=\"noreferrer noopener\">arduino.cc\/en\/Main\/Software<\/a><\/li>\n<\/ul>\n\n\n\n<p>If you want to install version 1, scroll down the page until you find the legacy 1.8.X version.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Raspberry-Pi-Pico-Boards-Manager\">Adding the Raspberry Pi Pico to the Boards Manager<\/h2>\n\n\n\n<p><strong>1.<\/strong> In the Arduino IDE, go to File &gt; Preferences.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"666\" height=\"631\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/06\/Arduino-IDE-2-File-Preferences.png?resize=666%2C631&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Arduino IDE Preferences\" class=\"wp-image-150042\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/06\/Arduino-IDE-2-File-Preferences.png?w=666&amp;quality=100&amp;strip=all&amp;ssl=1 666w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/06\/Arduino-IDE-2-File-Preferences.png?resize=300%2C284&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 666px) 100vw, 666px\" \/><\/figure><\/div>\n\n\n<p><strong>2.<\/strong> Enter the following URL into the &#8220;Additional Boards Manager URLs&#8221; field:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">https:\/\/github.com\/earlephilhower\/arduino-pico\/releases\/download\/global\/package_rp2040_index.json<\/pre>\n\n\n\n<p>Then, click the \u201cOK\u201d button:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"744\" height=\"490\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/Additional-Boards-URL-RPi-Pico.png?resize=744%2C490&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Additional Boards Manager URL Arduino IDE 2\" class=\"wp-image-150043\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/Additional-Boards-URL-RPi-Pico.png?w=744&amp;quality=100&amp;strip=all&amp;ssl=1 744w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/Additional-Boards-URL-RPi-Pico.png?resize=300%2C198&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 744px) 100vw, 744px\" \/><\/figure><\/div>\n\n\n<p><strong>Note:<\/strong>&nbsp;if you already have the ESP32 and\/or ESP8266 boards URL,s you can separate the three URLs with a comma as follows:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">https:\/\/github.com\/earlephilhower\/arduino-pico\/releases\/download\/global\/package_rp2040_index.json, https:\/\/raw.githubusercontent.com\/espressif\/arduino-esp32\/gh-pages\/package_esp32_index.json,http:\/\/arduino.esp8266.com\/stable\/package_esp8266com_index.json<\/pre>\n\n\n\n<p><strong>3.<\/strong> Open the Boards Manager. Go to <strong>Tools <\/strong>&gt; <strong>Board <\/strong>&gt; <strong>Boards Manager&#8230;<\/strong><\/p>\n\n\n\n<p><strong>4.<\/strong> Search for &#8220;<strong>pico<\/strong>&#8221; and install the Raspberry Pi Pico\/RP2040 boards. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"805\" height=\"631\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/install-Raspberry-Pi-Pico-Boards-Arduino-IDE.png?resize=805%2C631&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Install Raspberry Pi Boards Arduino IDE 2\" class=\"wp-image-150044\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/install-Raspberry-Pi-Pico-Boards-Arduino-IDE.png?w=805&amp;quality=100&amp;strip=all&amp;ssl=1 805w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/install-Raspberry-Pi-Pico-Boards-Arduino-IDE.png?resize=300%2C235&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/install-Raspberry-Pi-Pico-Boards-Arduino-IDE.png?resize=768%2C602&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 805px) 100vw, 805px\" \/><\/figure><\/div>\n\n\n<p><strong>5.<\/strong> That&#8217;s it. It will install after a few seconds.<\/p>\n\n\n\n<p><strong>6.<\/strong> Now, if you go to <strong>Tools <\/strong>&gt; <strong>Board<\/strong>, there should be a selection of Raspberry Pi Pico boards.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"305\" height=\"183\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/Raspberry-Pi-Pico-Board-Options-Arduino-IDE.png?resize=305%2C183&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Raspberry Pi Pico Board Options Arduino IDE 2\" class=\"wp-image-150045\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/Raspberry-Pi-Pico-Board-Options-Arduino-IDE.png?w=305&amp;quality=100&amp;strip=all&amp;ssl=1 305w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/Raspberry-Pi-Pico-Board-Options-Arduino-IDE.png?resize=300%2C180&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 305px) 100vw, 305px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"rpi-pico-arduino-ide-programming\">Programming the Raspberry Pi Pico Using Arduino IDE<\/h2>\n\n\n\n<p>Now you have everything prepared to start programming your Raspberry Pi Pico board using Arduino IDE. Don&#8217;t connect the board to your computer yet.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Selecting your Pico Board<\/h3>\n\n\n\n<p>Go to <strong>Tools <\/strong>> <strong>Board <\/strong>and select the Raspberry Pi Pico model you&#8217;re using\u2014<strong>Pico <\/strong>or <strong>Pico W<\/strong> (wireless support).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Loading the Blink LED Sketch<\/h3>\n\n\n\n<p>As an example, we&#8217;ll upload the classic Blink LED sketch. Go to <strong>File <\/strong>&gt; <strong>Examples <\/strong>&gt; <strong>1. Basic<\/strong> &gt; <strong>Blink<\/strong>.<\/p>\n\n\n\n<p>The following example should load.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"707\" height=\"733\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/Rpi-Pico-Blink-Sketch.png?resize=707%2C733&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Programming the Raspberry Pi Pico Using Arduino IDE Blink LED sketch\" class=\"wp-image-150046\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/Rpi-Pico-Blink-Sketch.png?w=707&amp;quality=100&amp;strip=all&amp;ssl=1 707w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/Rpi-Pico-Blink-Sketch.png?resize=289%2C300&amp;quality=100&amp;strip=all&amp;ssl=1 289w\" sizes=\"(max-width: 707px) 100vw, 707px\" \/><\/figure><\/div>\n\n\n<p>Or you can copy the following code:<\/p>\n\n\n<pre style=\"max-height: 40em; margin-bottom: 20px;\"><code class=\"language-c\">\/*\r\n  Blink -  Turns an LED on for one second, then off for one second, repeatedly.\r\n  Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to the correct LED pin independent of which board is used.\r\n  If you want to know what pin the on-board LED is connected to on your Arduino model, check the Technical Specs of your board at: https:\/\/www.arduino.cc\/en\/Main\/Products\r\n  modified 8 May 2014 by Scott Fitzgerald modified 2 Sep 2016 by Arturo Guadalupi modified 8 Sep 2016 by Colby Newman  This example code is in the public domain. https:\/\/www.arduino.cc\/en\/Tutorial\/BuiltInExamples\/Blink\r\n  \r\n  Programming Raspberry Pi Pico with Arduino IDE: https:\/\/RandomNerdTutorials.com\/programming-raspberry-pi-pico-w-arduino-ide\/\r\n*\/\r\n\r\n\/\/ the setup function runs once when you press reset or power the board\r\nvoid setup() {\r\n  \/\/ initialize digital pin LED_BUILTIN as an output.\r\n  pinMode(LED_BUILTIN, OUTPUT);\r\n}\r\n\r\n\/\/ the loop function runs over and over again forever\r\nvoid loop() {\r\n  digitalWrite(LED_BUILTIN, HIGH);   \/\/ turn the LED on (HIGH is the voltage level)\r\n  delay(1000);                       \/\/ wait for a second\r\n  digitalWrite(LED_BUILTIN, LOW);    \/\/ turn the LED off by making the voltage LOW\r\n  delay(1000);                       \/\/ wait for a second\r\n}\r\n<\/code><\/pre>\n\t<p style=\"text-align:center\"><a class=\"rntwhite\" href=\"https:\/\/github.com\/RuiSantosdotme\/Random-Nerd-Tutorials\/raw\/master\/Projects\/Raspberry-Pi-Pico\/Arduino\/Blink\/Blink.ino\" target=\"_blank\">View raw code<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. Connecting the Raspberry Pi Pico in BOOTLOADER mode<\/h3>\n\n\n\n<p>For you to be able to upload code to the Raspberry Pi Pico, it needs to be in bootloader mode.<\/p>\n\n\n\n<p>If the Raspberry Pi is currently running MicroPython firmware, you need to manually put it into bootloader mode. For that, connect the Raspberry Pi Pico to your computer while holding the BOOTSEL button at the same time. A new mass storage device window will open on your computer. You can ignore it and close that window.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"422\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/05\/Raspberry-Pi-Pico-Bottloader-mode.jpg?resize=750%2C422&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Raspberry Pi Pico Bootloader mode\" class=\"wp-image-130903\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/05\/Raspberry-Pi-Pico-Bottloader-mode.jpg?w=750&amp;quality=100&amp;strip=all&amp;ssl=1 750w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/05\/Raspberry-Pi-Pico-Bottloader-mode.jpg?resize=300%2C169&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 750px) 100vw, 750px\" \/><\/figure><\/div>\n\n\n<p>For future uploads using Arduino IDE, the board should go automatically into bootloader mode without the need to press the BOOTSEL button.<\/p>\n\n\n\n<p>Now, open the top drop-down menu and click on <strong>Select other board and port&#8230;<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/Arduino-IDE-2-select-other-board-and-port.png?quality=100&#038;strip=all&#038;ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"841\" height=\"232\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/Arduino-IDE-2-select-other-board-and-port.png?resize=841%2C232&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"arduino IDE 2 select other board and port\" class=\"wp-image-150047\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/Arduino-IDE-2-select-other-board-and-port.png?w=841&amp;quality=100&amp;strip=all&amp;ssl=1 841w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/Arduino-IDE-2-select-other-board-and-port.png?resize=300%2C83&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/Arduino-IDE-2-select-other-board-and-port.png?resize=768%2C212&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 841px) 100vw, 841px\" \/><\/a><\/figure><\/div>\n\n\n<p>For the board, select Raspberry Pi Pico or Raspberry Pi Pico W.<\/p>\n\n\n\n<p>The COM port might not show up on your first upload, so you need to tick the <strong>Show all ports<\/strong> option. Then, select the <strong>UF2 Board UF2 Devices <\/strong>option.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"699\" height=\"504\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/raspberry-pi-pico-arduino-ide-2-select-com-port.png?resize=699%2C504&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Arduino IDE 2 select Raspberry Pi Pico COM port.\" class=\"wp-image-150048\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/raspberry-pi-pico-arduino-ide-2-select-com-port.png?w=699&amp;quality=100&amp;strip=all&amp;ssl=1 699w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/raspberry-pi-pico-arduino-ide-2-select-com-port.png?resize=300%2C216&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/figure><\/div>\n\n\n<p>Now, you can upload the code.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"36\" height=\"39\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2021\/05\/arduino-ide-2-upload-button.png?resize=36%2C39&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Arduino IDE 2 Upload Button\" class=\"wp-image-146269\"\/><\/figure><\/div>\n\n\n<p>You should get a success message.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"183\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/upload-code-to-rpi-pico-ok.png?resize=734%2C183&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Upload code to Raspberry Pi Pico OK\" class=\"wp-image-150049\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/upload-code-to-rpi-pico-ok.png?w=734&amp;quality=100&amp;strip=all&amp;ssl=1 734w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/03\/upload-code-to-rpi-pico-ok.png?resize=300%2C75&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 734px) 100vw, 734px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Demonstration<\/h3>\n\n\n\n<p>If everything went as expected, the Raspberry Pi Pico onboard LED should be blinking every second.<\/p>\n\n\n\n<div class=\"wp-block-jetpack-tiled-gallery aligncenter is-style-rectangular\"><div class=\"tiled-gallery__gallery\"><div class=\"tiled-gallery__row\"><div class=\"tiled-gallery__col\" style=\"flex-basis:50.00000%\"><figure class=\"tiled-gallery__item\"><img decoding=\"async\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/05\/Raspberry-Pi-Pico-Blinking-LED-Off.jpg?strip=info&#038;w=600&#038;ssl=1 600w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/05\/Raspberry-Pi-Pico-Blinking-LED-Off.jpg?strip=info&#038;w=750&#038;ssl=1 750w\" alt=\"Raspberry Pi Pico W onboard LED off\" data-height=\"422\" data-id=\"130908\" data-link=\"https:\/\/randomnerdtutorials.com\/getting-started-raspberry-pi-pico-w\/raspberry-pi-pico-blinking-led-off\/#main\" data-url=\"https:\/\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/05\/Raspberry-Pi-Pico-Blinking-LED-Off.jpg\" data-width=\"750\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/05\/Raspberry-Pi-Pico-Blinking-LED-Off.jpg?ssl=1\" data-amp-layout=\"responsive\"\/><\/figure><\/div><div class=\"tiled-gallery__col\" style=\"flex-basis:50.00000%\"><figure class=\"tiled-gallery__item\"><img decoding=\"async\" srcset=\"https:\/\/i2.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/05\/Raspberry-Pi-Pico-Blinking-LED-On.jpg?strip=info&#038;w=600&#038;ssl=1 600w, https:\/\/i2.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/05\/Raspberry-Pi-Pico-Blinking-LED-On.jpg?strip=info&#038;w=750&#038;ssl=1 750w\" alt=\"Raspberry Pi Pico W onboard LED on\" data-height=\"422\" data-id=\"130907\" data-link=\"https:\/\/randomnerdtutorials.com\/getting-started-raspberry-pi-pico-w\/raspberry-pi-pico-blinking-led-on\/#main\" data-url=\"https:\/\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/05\/Raspberry-Pi-Pico-Blinking-LED-On.jpg\" data-width=\"750\" src=\"https:\/\/i2.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/05\/Raspberry-Pi-Pico-Blinking-LED-On.jpg?ssl=1\" data-amp-layout=\"responsive\"\/><\/figure><\/div><\/div><\/div><\/div>\n\n\n\n<p>And that&#8217;s it. You successfully programmed your Raspberry Pi Pico using Arduino IDE.<\/p>\n\n\n\n<p class=\"rntbox rntclgreen\">You may also like: <a href=\"https:\/\/randomnerdtutorials.com\/raspberry-pi-pico-w-micropython-ebook\/\" title=\"\"><strong>Learn Raspberry Pi Pico with MicroPython eBook<\/strong><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wrapping Up<\/h2>\n\n\n\n<p>In this tutorial, you learned how to set up the Arduino IDE to program the Raspberry Pi Pico using C\/C++ programming language, similar to what you use to program the Arduino, ESP32, and ESP8266.<\/p>\n\n\n\n<p>The Raspberry Pi Pico can also be programmed using MicroPython firmware. If you&#8217;re interested in <a href=\"https:\/\/randomnerdtutorials.com\/getting-started-raspberry-pi-pico-w\/\" title=\"\">programming the Pico using MicroPython, check this tutorial<\/a>.<\/p>\n\n\n\n<p>You can check all our Raspberry Pi Pico projects and tutorials on the following link:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/randomnerdtutorials.com\/projects-raspberry-pi-pico\/\">Check out all our Raspberry Pi Pico Guides \u00bb<\/a><\/li>\n<\/ul>\n\n\n\n<p>You may also like:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/randomnerdtutorials.com\/getting-started-with-raspberry-pi\/\">Getting Started with the Raspberry Pi<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/smart-home-ebook\/\">SMART HOME with Raspberry Pi, ESP32, and ESP8266<\/a><\/li>\n<\/ul>\n\n\n\n<p>Thanks for reading.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to program the Raspberry Pi Pico using Arduino IDE software. The Raspberry Pi Pico is a low-cost microcontroller board developed around the RP2040 chip by the Raspberry Pi &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Programming Raspberry Pi Pico with Arduino IDE (Pico W compatible)\" class=\"read-more button\" href=\"https:\/\/randomnerdtutorials.com\/programming-raspberry-pi-pico-w-arduino-ide\/#more-132407\" aria-label=\"Read more about Programming Raspberry Pi Pico with Arduino IDE (Pico W compatible)\">CONTINUE READING \u00bb<\/a><\/p>\n","protected":false},"author":5,"featured_media":132417,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[324,325],"tags":[],"class_list":["post-132407","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raspberry-pi-pico","category-raspberry-pi-pico-arduino-ide"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2023\/06\/Raspberry-Pi-Pico-Arduino-IDE.jpg?fit=1280%2C720&quality=100&strip=all&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/132407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/comments?post=132407"}],"version-history":[{"count":10,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/132407\/revisions"}],"predecessor-version":[{"id":150054,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/132407\/revisions\/150054"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media\/132417"}],"wp:attachment":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media?parent=132407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/categories?post=132407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/tags?post=132407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}