<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Pico: Using VS Code and the new Raspberry Pi Pico extension to develop an I2C driver application in C with the help of an AI LLM</title><link>/products/raspberry-pi/b/blog/posts/using-visual-studio-code-vs-code-and-the-new-raspberry-pi-pico-extension-to-develop-an-i2c-driver-application-in-c-with-the-help-of-ai</link><description>Table of Contents

 Introduction 
 Setup 
 Create a C application using an example 
 Developing a simple driver for the MCP23017 I2C chip using AI 

 Initial Arduino firmware 
 Switching to VS Code and the Pico SDK 






Introduction
After many years</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Pico: Using VS Code and the new Raspberry Pi Pico extension to develop an I2C driver application in C with the help of an AI LLM</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/using-visual-studio-code-vs-code-and-the-new-raspberry-pi-pico-extension-to-develop-an-i2c-driver-application-in-c-with-the-help-of-ai</link><pubDate>Tue, 25 Mar 2025 18:30:10 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9d56cade-b70a-442a-b699-9f0deb805782</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Well done, thanks.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28785&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Pico: Using VS Code and the new Raspberry Pi Pico extension to develop an I2C driver application in C with the help of an AI LLM</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/using-visual-studio-code-vs-code-and-the-new-raspberry-pi-pico-extension-to-develop-an-i2c-driver-application-in-c-with-the-help-of-ai</link><pubDate>Tue, 25 Mar 2025 17:48:33 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9d56cade-b70a-442a-b699-9f0deb805782</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Nice work! Nice looking board too.&lt;/p&gt;
&lt;p&gt;Glad you got to try the SDK too, you&amp;#39;ll be pleasantly surprised that it&amp;#39;s functionality all round is pretty good, and documentation is not bad either (although I wish they had example code snippets for each function right in the documentation, rather than just in example code files). Fortunately as you say, AI tools are very good for building up the necessary bits of code themselves to get going.&lt;/p&gt;
&lt;p&gt;I use some form of AI on almost anything I code now (usually just to guide things along, to reveal API functions that I might not have thought of using, and for doing the mundane work like figuring out quick ways to do whatever bits and bytes manipulations I may need.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m glad you&amp;#39;ve got your environment sorted for developing with VS Code, there&amp;#39;s always some hiccups in setting that up usually!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28785&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Pico: Using VS Code and the new Raspberry Pi Pico extension to develop an I2C driver application in C with the help of an AI LLM</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/using-visual-studio-code-vs-code-and-the-new-raspberry-pi-pico-extension-to-develop-an-i2c-driver-application-in-c-with-the-help-of-ai</link><pubDate>Tue, 25 Mar 2025 16:57:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9d56cade-b70a-442a-b699-9f0deb805782</guid><dc:creator>ralphjy</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I&amp;#39;ll have to give this a try.&amp;nbsp; I also am not too adventurous when it comes to coding.&amp;nbsp; I&amp;#39;ve had my share of woes dealing with version compatibilities and dependencies when dealing with SDKs (especially early ones).&amp;nbsp; I&amp;#39;ve been using the Arduino IDE with Earle Philhower&amp;#39;s libraries for my Pico development but haven&amp;#39;t done much with the Pico 2 yet.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve also been slow trying all the new AI code generation tools.&amp;nbsp; I have tried chatGPT since I had been using it to help with searches.&amp;nbsp; It helps me get syntax right when switching between coding languages but as far as getting working code - I think I&amp;#39;ve taught it more than I&amp;#39;ve learned.&amp;nbsp; It is great for getting ideas.&amp;nbsp; I&amp;#39;ll have to try Gemini and some of the other platforms.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28785&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Pico: Using VS Code and the new Raspberry Pi Pico extension to develop an I2C driver application in C with the help of an AI LLM</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/using-visual-studio-code-vs-code-and-the-new-raspberry-pi-pico-extension-to-develop-an-i2c-driver-application-in-c-with-the-help-of-ai</link><pubDate>Tue, 25 Mar 2025 16:08:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9d56cade-b70a-442a-b699-9f0deb805782</guid><dc:creator>robogary</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;congrats. Early adopters aren&amp;#39;t all the glamour they&amp;#39;re cracked up to be&amp;nbsp; &amp;nbsp;:-)&amp;nbsp; Patience is a virtue&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28785&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>