<?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[M5Atom I2c]]></title><description><![CDATA[<p dir="auto">Hi all,<br />
i'm playing with the mpu6886, with the Arduino lib i can read it.<br />
how can i use the "grove" connector (g26,g32) with a i2c device at the same time?</p>
<p dir="auto">thx Michael</p>
]]></description><link>https://community.m5stack.com/topic/1784/m5atom-i2c</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Apr 2026 06:21:24 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1784.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 20 Mar 2020 22:03:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Atom I2c on Sat, 21 Mar 2020 09:09:55 GMT]]></title><description><![CDATA[<p dir="auto">ok...i find out that i have to use SoftwareI2c and the i2c device must have pullup resistors:</p>
<p dir="auto">#include "SoftwareI2C.h"</p>
<p dir="auto">SoftwareI2C softwarei2c;</p>
<p dir="auto">void setup() {<br />
Serial.begin(115200);<br />
softwarei2c.begin(26, 32);       // sda, scl<br />
Serial.println("begin to scan...");<br />
}</p>
<p dir="auto">void loop() {<br />
for (unsigned char i = 1; i &lt;= 127; i++) {<br />
if (softwarei2c.beginTransmission(i)) {<br />
Serial.print("0x");<br />
Serial.println(i, HEX);</p>
<pre><code>        while (1);
    }
    softwarei2c.endTransmission();
}

Serial.println("find nothing");
while (1);
</code></pre>
<p dir="auto">}</p>
]]></description><link>https://community.m5stack.com/post/7853</link><guid isPermaLink="true">https://community.m5stack.com/post/7853</guid><dc:creator><![CDATA[Michael1968]]></dc:creator><pubDate>Sat, 21 Mar 2020 09:09:55 GMT</pubDate></item></channel></rss>