<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Adruino IDE vs VS Code]]></title><description><![CDATA[<p dir="auto">I am facing a strange issue and I am sure there must be something I am missing, so I am kindly asking for your assistance.</p>
<p dir="auto">I am testing this code: <a href="https://github.com/m5stack/M5Stack/tree/master/examples/Unit/PaHUB_TCA9548A" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Stack/tree/master/examples/Unit/PaHUB_TCA9548A</a></p>
<p dir="auto">The PaHub scanner with a M5Core Basic device (the one in the PM2.5 Air quality kit).</p>
<p dir="auto">The code uploaded with Arduino IDE works just fine. It displays existing addresses.<br />
However, the code uploaded with VSCode with Platformio does not. It is not detecting any of the I2C device addresses.</p>
<p dir="auto"><strong>The plafromio.ini:</strong><br />
[env:m5stack-core-esp32]<br />
platform = espressif32<br />
board = m5stack-core-esp32<br />
framework = arduino<br />
lib_deps =<br />
m5stack/M5Stack@^0.4.6<br />
closedcube/ClosedCube I2C Driver@^2020.9.8<br />
closedcube/ClosedCube TCA9548A@^2020.5.21</p>
<p dir="auto">I have checked the source code of the libraries used (M5Stack and ClosedCube_TCA9548A) and they seem identical.</p>
<p dir="auto">I cannot understand what I a missing.</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://community.m5stack.com/topic/5677/adruino-ide-vs-vs-code</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 23:22:38 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5677.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Sep 2023 12:10:04 GMT</pubDate><ttl>60</ttl></channel></rss>