<?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[Micropython M5Stamp Stamp I&#x2F;O Help please?]]></title><description><![CDATA[<p dir="auto">And another Micropython I2C help request.<br />
Is anyone using the Stamp IO expansion stamp?<br />
I'm having problems understanding how to control it and its not in UIFlow yet!</p>
]]></description><link>https://community.m5stack.com/topic/5057/micropython-m5stamp-stamp-i-o-help-please</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Mar 2026 03:56:14 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5057.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Feb 2023 14:54:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Micropython M5Stamp Stamp I&#x2F;O Help please? on Sat, 18 Feb 2023 14:12:21 GMT]]></title><description><![CDATA[<p dir="auto">Way hay I got it.<br />
in micropython you use</p>
<pre><code>i2c.writeto_mem(0x45, 0x00, b'\x01')
</code></pre>
<p dir="auto">to set the mode and then</p>
<pre><code>i2c.writeto_mem(0x45, 0x10, b'\x01')
i2c.writeto_mem(0x45, 0x10, b'\x00')
</code></pre>
<p dir="auto">to turn each pin off and on it digital mode.</p>
<p dir="auto">And I can conform that the EXT I/O 2 and the ExtI/O stamp are the same units!</p>
]]></description><link>https://community.m5stack.com/post/20123</link><guid isPermaLink="true">https://community.m5stack.com/post/20123</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sat, 18 Feb 2023 14:12:21 GMT</pubDate></item><item><title><![CDATA[Reply to Micropython M5Stamp Stamp I&#x2F;O Help please? on Thu, 16 Feb 2023 18:28:57 GMT]]></title><description><![CDATA[<p dir="auto">I found a clue to programming it. It is the EXTI/O2 Unit in a miniaturised form. Same hardware, firmware and address.</p>
]]></description><link>https://community.m5stack.com/post/20105</link><guid isPermaLink="true">https://community.m5stack.com/post/20105</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Thu, 16 Feb 2023 18:28:57 GMT</pubDate></item><item><title><![CDATA[Reply to Micropython M5Stamp Stamp I&#x2F;O Help please? on Thu, 16 Feb 2023 17:14:06 GMT]]></title><description><![CDATA[<p dir="auto">I think I may have broke it!<img src="/assets/uploads/files/1676567550543-screenshot-2023-02-16-at-17.11.34-resized.png" alt="0_1676567548176_Screenshot 2023-02-16 at 17.11.34.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/20103</link><guid isPermaLink="true">https://community.m5stack.com/post/20103</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Thu, 16 Feb 2023 17:14:06 GMT</pubDate></item><item><title><![CDATA[Reply to Micropython M5Stamp Stamp I&#x2F;O Help please? on Thu, 16 Feb 2023 06:23:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/7508">@teastain</a> <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4037">@felmue</a> I've read, reread and experimented in micropython and still get a problem trying to control it.<br />
Mind you I have a cold so my brain isn't at its best but every time I trying to i2c.write() it causes a Error19: ENOMEM meaning I'm doing something wrong.</p>
<p dir="auto">Something about access the registers is not working for me.</p>
]]></description><link>https://community.m5stack.com/post/20094</link><guid isPermaLink="true">https://community.m5stack.com/post/20094</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Thu, 16 Feb 2023 06:23:52 GMT</pubDate></item><item><title><![CDATA[Reply to Micropython M5Stamp Stamp I&#x2F;O Help please? on Thu, 16 Feb 2023 04:40:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a> <img src="/assets/uploads/files/1676521842296-e2409982-3342-41ee-952a-a694b8453c98_1_105_c.jpeg" alt="0_1676521840017_E2409982-3342-41EE-952A-A694B8453C98_1_105_c.jpeg" class=" img-fluid img-markdown" /><br />
Adam, I nearly went mad getting this to work! Part of the problem was wrapping my brain around how it worked. It is a silly invention of little use, I say!<br />
I found a weakness in the library that prevented individual pin functions, like pin 1 input, pin 2 RGB, pin 3 output.<br />
Our friend felix edited the library header and did a pull request and now they are all individually selectable. This image is actually a short video, but I don't think I can upload it here. Imagine if you will, the LED blink-ing...<br />
However the examples were NOT updated and they still say "AllPinMode", so this is confusing.<br />
I realize this is C, but it might be illustrative for translation to UIflow?<br />
Terry</p>
]]></description><link>https://community.m5stack.com/post/20093</link><guid isPermaLink="true">https://community.m5stack.com/post/20093</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Thu, 16 Feb 2023 04:40:34 GMT</pubDate></item><item><title><![CDATA[Reply to Micropython M5Stamp Stamp I&#x2F;O Help please? on Wed, 15 Feb 2023 16:27:13 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a></p>
<p dir="auto">on the <a href="https://docs.m5stack.com/en/stamp/stamp_io" target="_blank" rel="noopener noreferrer nofollow ugc">document</a> page the Stamp I/O Arduino examples point to the ExtIO2 unit examples.</p>
<p dir="auto">So, I'd try the UIFlow blocks for the ExtIO2 unit.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/20091</link><guid isPermaLink="true">https://community.m5stack.com/post/20091</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 15 Feb 2023 16:27:13 GMT</pubDate></item></channel></rss>