[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-687489-105":59,"doc-detail-687489-en":130,"doc-similar-687489":149},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","using-the-circuitpython-extension-for-visual-studio-code","Using the CircuitPython Extension for Visual Studio Code","","A practical guide to developing with CircuitPython inside Microsoft Visual Studio Code using the CircuitPython v2 extension. It walks through installing VS Code, adding the extension, trusting and confirming workspace installation, and opening the CIRCUITPY drive so the extension activates when example files like code.py are edited. The workflow covers connecting boards via the serial monitor, using CTRL+D for soft reboot, entering the REPL with CTRL+C, testing print commands, and using extension commands with circup for library management and updates.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/using-the-circuitpython-extension-for-visual-studio-code/687489/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/using-the-circuitpython-extension-for-visual-studio-code/687489.png","ImageObject",300,407,{"name":92,"@type":93},"naya.afterrain","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-22","2026-11-07",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"How do you install the CircuitPython v2 extension in VS Code?","Question",{"text":112,"@type":113},"Open VS Code Extensions tab, search for CircuitPython, and click Install for CircuitPython v2 by wmerkens. Then confirm with Trust Workspace & Install and verify it under the Installed column.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How do you connect a CircuitPython board and access the REPL?",{"text":117,"@type":113},"Connect the board with a known good USB cable, open the CIRCUITPY drive folder in VS Code, and select the board serial port. In the terminal choose CircuitPython Serial Monitor, then enter CTRL+C to access the REPL.",{"name":119,"@type":110,"acceptedAnswer":120},"What are the basic commands to run code and test interaction in the serial monitor?",{"text":121,"@type":113},"Use CTRL+D to trigger a soft reboot so code.py runs. In the REPL, enter print(\"hello world\") and confirm the serial monitor prints back \"hello world\".","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},687489,1794083814,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":44,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":8,"preview_urls":144},962094248482,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Using the CircuitPython Extension for Visual Studio Code  \nCreated by Liz Clark  \n[https://learn.adafruit.com/using-the-circuitpython-extension-for-visual-studio-code](https://learn.adafruit.com/using-the-circuitpython-extension-for-visual-studio-code)  \nLast updated on 2026-05-27 12:04:01 PM UTC  \n©Adafruit Industries Page 1 of 9  \nTable of Contents  \nOverview 3 • Install VS Code  \nMicrosoft VS Code Docs 4 Install the CircuitPython Extension for VS Code 4 Use the CircuitPython Extension for VS Code 5  \n• Using the Serial Monitor and REPL  \n• Accessing Special Commands  \nCircuitPython v2 Extension on GitHub 9  \n©Adafruit Industries Page 2 of 9  \nOverview  \nOne of the great features of CircuitPython is that you can edit your code with a simple text editor-no integrated development environment (IDE) required! But what if you do want to use an IDE? You can use the CircuitPython v2 extension ([https://adafru.it/1ab3](https://adafru.it/1ab3)) for VS Code for a fully featured CircuitPython development experience- including the REPL.  \nThe CircuitPython v2 extension is easily installed from the extensions tab in VS Code. After installation, you can open your CIRCUITPY drive with VS Code and access your connected CircuitPython board over the serial monitor or REPL.  \nInstall VS Code  \nBefore following this guide, you'll need to install VS Code ([https://adafru.it/1ab4](https://adafru.it/1ab4)) on your computer. Microsoft has extensive documentation ([https://adafru.it/OJc](https://adafru.it/OJc)) detailing the installation process and features available in VS Code.  \n©Adafruit Industries Page 3 of 9  \nYou'll need to install VS Code before installing the CircuitPython v2 extension.  \nMicrosoft VS Code Docs  \nMicrosoft VS Code Docs ([https://adafru.it/OJc](https://adafru.it/OJc))  \nInstall the CircuitPython Extension for VS Code  \nClick on the Extensions tab in VS Code. Search for CircuitPython. Click Install for CircuitPython v2 by wmerkens.  \n©Adafruit Industries Page 4 of 9  \nConfirm the installation by clicking Trust Workspace & Install.  \nYou can confirm the installation by going to your Extensions tab and searching under the Installed column.  \nUse the CircuitPython Extension for VS Code  \nConnect your CircuitPython board to your computer with a known good data USB cable. Next, you'll connect to the board using the CircuitPython extension.  \nPink and Purple Woven USB A to USB CCable-1 meter long  \nThis cable is not only super-fashionable, with a woven pink and purple Blinka-like pattern, it's also made for USB C for our modernized breakout boards, Feathers, and    \n[https://www.adafruit.com/product/5153](https://www.adafruit.com/product/5153)  \n©Adafruit Industries Page 5 of 9  \nIn the Explorer tab in VS Code, select Open Folder...  \nSelect your CIRCUITPY drive and click Select Folder.  \nYou'll see the contents of your CIRCUITPY drive appear in VS Code. The CircuitPython extension activates when any of these files are opened in VS Code:  \n[code.py](code.py)  \ncode.txt  \n[main.py](main.py)  \nmain.txt  \nboot out.txt  \nBy opening your CIRCUITPY drive, the extension is now activated.  \n©Adafruit Industries Page 6 of 9  \nAt the bottom of the VS Code window, you'll see text that says \u003CChoose a board> and a little plug icon. Select the plug icon.  \nIn the search bar at the top of VS Code, you'll see Select a serial port appear in the bar. In the dropdown, you should see your CIRCUITPY drive board name and its COMport. Click on the board.  \nThis connects to the Serial Port on your board. At the bottom of the VS Code window , you'll see your board name appear. If you select the Circuit Python Serial Monitor in the terminal tab , you'll see that the board COM port is opened and you can access the REPL by entering CTRL+C.  \nUsing the Serial Monitor and REPL  \nPress CTRL+D, you should see a soft reboot occur and your [code.py](code.py) file should run.  \n©Adafruit Industries Page 7 of 9  \nIn the serial monitor above, this simple [code.py](cod","cbCainsp1lFnC4X4","https://ap.wps.com/l/cbCainsp1lFnC4X4","pdf",811096,"English","# Overview\n## Install VS Code\n## Install the CircuitPython Extension for VS Code\n# Use the CircuitPython Extension for VS Code\n## Using the Serial Monitor and REPL\n## Accessing Special Commands\n# CircuitPython v2 Extension on GitHub","[{\"question\":\"How do you install the CircuitPython v2 extension in VS Code?\",\"answer\":\"Open VS Code Extensions tab, search for CircuitPython, and click Install for CircuitPython v2 by wmerkens. Then confirm with Trust Workspace \\u0026 Install and verify it under the Installed column.\"},{\"question\":\"How do you connect a CircuitPython board and access the REPL?\",\"answer\":\"Connect the board with a known good USB cable, open the CIRCUITPY drive folder in VS Code, and select the board serial port. In the terminal choose CircuitPython Serial Monitor, then enter CTRL+C to access the REPL.\"},{\"question\":\"What are the basic commands to run code and test interaction in the serial monitor?\",\"answer\":\"Use CTRL+D to trigger a soft reboot so code.py runs. In the REPL, enter print(\\\"hello world\\\") and confirm the serial monitor prints back \\\"hello world\\\".\"}]","Using the CircuitPython Extension for Visual Studio Code | PDF",23,[145],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/d011c0765e70bd5ee7afcdd4e12c8dda.webp",983,1390,{"list":150,"token":66},[151,157,163,169,176,182,188,194,200,207],{"doc_id":152,"doc_title":153,"file_type":137,"home_preview_img_url":154,"slug":155,"view_count":34,"category_name":30,"create_tm":156},720403,"Adafruit Metro RP2350 - Board setup and CircuitPython guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023673595/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=6fdVELTMYjzRK%2BYF1B67TP0xwyA%3D","adafruit-metro-rp2350-board-setup-and-circuitpython-guide",1795037124,{"doc_id":158,"doc_title":159,"file_type":137,"home_preview_img_url":160,"slug":161,"view_count":34,"category_name":30,"create_tm":162},687466,"Visual Studio Code for ModusToolbox™ user guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001261073/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=dppylpcWN1lrijExBENAIObMyhE%3D","visual-studio-code-for-modustoolbox-user-guide",1794083756,{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":39,"category_name":30,"create_tm":168},687469,"Getting Started with VS Code and PlatformIO IDE for ESP32 and ESP8266 - Windows, Mac OS X, Linux Ubuntu","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001261094/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=mMcgvqE%2BR50sRlbWi9u6EAQx0m0%3D","getting-started-with-vs-code-and-platformio-ide-for-esp32-and-esp8266-windows-mac-os-x-linux-ubuntu",1794083762,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":30,"create_tm":175},689409,"PaintShop Pro - Keyboard Shortcuts - Single Key Shortcuts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001620781/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=zRy2%2BBxOaqC8Vou9G0QqMAUMScc%3D","paintshop-pro-keyboard-shortcuts-single-key-shortcuts",11,1794107294,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":24,"category_name":30,"create_tm":181},701276,"Account setup - Claude Code - for UT Austin course","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012064996/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=wExXAE89gwx468T%2FWsPzjKTvWPQ%3D","account-setup-claude-code-for-ut-austin-course",1794525299,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":24,"category_name":30,"create_tm":187},687467,"TMS WEB Core for Visual Studio Code - Setup Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001261075/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=e8IB32orY9JOcLG2dxj7Z59tVeM%3D","tms-web-core-for-visual-studio-code-setup-guide",1794083758,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":34,"category_name":30,"create_tm":193},689312,"Onshape Keyboard Shortcuts Cheat Sheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001574449/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=kKNokQqiB3Hu7EniMuI8%2B43zERw%3D","onshape-keyboard-shortcuts-cheat-sheet",1794103289,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":174,"category_name":30,"create_tm":199},687756,"Adobe Illustrator - Keyboard Shortcuts - Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000650547/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=yky1m6sfUO7W%2B9zexn6CMa%2FIgyg%3D","adobe-illustrator-keyboard-shortcuts-guide",1794084907,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":205,"category_name":30,"create_tm":206},348355,"VSCode ObjectScript HowTo","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911292538/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=r08KrVOJp0490huMh2B6tMTUw3s%3D","vscode-objectscript-howto",17,1790072557,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":19,"category_name":30,"create_tm":212},688631,"MathType 101 - Creating the Ctrl-E Hotkeys for Opening and Closing Equations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000661324/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=mL3rY9%2B%2FT9uApYOCMw68kCjH%2B4U%3D","mathtype-101-creating-the-ctrl-e-hotkeys-for-opening-and-closing-equations",1794090305]