<?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[M5 Dial Port B both Pins needed to be outputs]]></title><description><![CDATA[<p dir="auto">I am trying to use Port B (Black Port) G1 and G2 as PWM and direction outputs<br />
Both UIflow 2.0.3 and arduino don't seem to make Pin 2 as output but no warnings<br />
I have read the documentation of S3 and I see no reason that both pins cannot be outputs<br />
I know on Tough one of the pins could only be input but i see no reason for this on s3<br />
What am i missing</p>
]]></description><link>https://community.m5stack.com/topic/6339/m5-dial-port-b-both-pins-needed-to-be-outputs</link><generator>RSS for Node</generator><lastBuildDate>Wed, 06 May 2026 01:28:32 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6339.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Apr 2024 21:03:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5 Dial Port B both Pins needed to be outputs on Sun, 05 May 2024 03:28:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a><br />
Followup<br />
I discovered this problem is only if you are using pins in source mode.<br />
In sink mode they behave as you said.<br />
My bad thanks for your help</p>
]]></description><link>https://community.m5stack.com/post/25047</link><guid isPermaLink="true">https://community.m5stack.com/post/25047</guid><dc:creator><![CDATA[ToughBJH]]></dc:creator><pubDate>Sun, 05 May 2024 03:28:49 GMT</pubDate></item><item><title><![CDATA[Reply to M5 Dial Port B both Pins needed to be outputs on Fri, 19 Apr 2024 15:50:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> Yes! That's it!<br />
GI vs G1!!!<br />
Thanks.</p>
]]></description><link>https://community.m5stack.com/post/24872</link><guid isPermaLink="true">https://community.m5stack.com/post/24872</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Fri, 19 Apr 2024 15:50:14 GMT</pubDate></item><item><title><![CDATA[Reply to M5 Dial Port B both Pins needed to be outputs on Fri, 19 Apr 2024 14:05:06 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/teastain" aria-label="Profile: teastain">@<bdi>teastain</bdi></a></p>
<p dir="auto">do you mean the GI (capital I for In) and GO (capital O for Out)?</p>
<p dir="auto">That said, I think the strict one input and one output on port B is coming from ESP32 cores which would use one GPIO that actually only can be an input.</p>
<p dir="auto">However the S3 variant doesn't seem to have this limitation anymore.</p>
<p dir="auto">As I reported before I can set GPIO1 and GPIO2 of my M5Dial both to outputs and use them just fine.</p>
<p dir="auto">And even if one or both of them are set as input in UIFlow firmware that should not prevent one from changing that in the user program. (Unless it is set as an input repeatedly in the UIFlow firmware.)</p>
<p dir="auto">Note: I have not tested the same (both outputs) with an Arduino program.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/24869</link><guid isPermaLink="true">https://community.m5stack.com/post/24869</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 19 Apr 2024 14:05:06 GMT</pubDate></item><item><title><![CDATA[Reply to M5 Dial Port B both Pins needed to be outputs on Fri, 19 Apr 2024 13:55:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> I have been following this issue for a week or so and trying to figure it out.<br />
I see three things in the documentation that don't make sense, both Dial and DIN Meter.</p>
<p dir="auto"><img src="/assets/uploads/files/1713534587011-screenshot-2024-04-19-at-9.46.39-am-resized.png" alt="0_1713534584430_Screenshot 2024-04-19 at 9.46.39 AM.png" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1713534599238-screenshot-2024-04-19-at-9.44.52-am.png" alt="0_1713534595911_Screenshot 2024-04-19 at 9.44.52 AM.png" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1713534641112-screenshot-2024-04-19-at-9.46.03-am.png" alt="0_1713534637994_Screenshot 2024-04-19 at 9.46.03 AM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I still have the cute Demo sketches running and have not tried this myself, but it looks confusing?</p>
]]></description><link>https://community.m5stack.com/post/24868</link><guid isPermaLink="true">https://community.m5stack.com/post/24868</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Fri, 19 Apr 2024 13:55:31 GMT</pubDate></item><item><title><![CDATA[Reply to M5 Dial Port B both Pins needed to be outputs on Thu, 18 Apr 2024 18:57:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a><br />
Thanks for your reply's<br />
I am thinking</p>
<ol>
<li>Buy a m5stamp s3 and try that</li>
<li>Wait for new batch of dials buy one see if thats different</li>
<li>Figure out how to use the idf (not likely)<br />
Thanks for getting back to me so quickly</li>
</ol>
]]></description><link>https://community.m5stack.com/post/24859</link><guid isPermaLink="true">https://community.m5stack.com/post/24859</guid><dc:creator><![CDATA[ToughBJH]]></dc:creator><pubDate>Thu, 18 Apr 2024 18:57:35 GMT</pubDate></item><item><title><![CDATA[Reply to M5 Dial Port B both Pins needed to be outputs on Wed, 17 Apr 2024 10:17:57 GMT]]></title><description><![CDATA[<p dir="auto">If you can’t change pin 2 to output then it’s set in hardware or deep in the firmware.  All port B devices have 1 input and 1 output don’t mess with the definition. If you need more they try a port b hub or I/o expander</p>
]]></description><link>https://community.m5stack.com/post/24841</link><guid isPermaLink="true">https://community.m5stack.com/post/24841</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 17 Apr 2024 10:17:57 GMT</pubDate></item><item><title><![CDATA[Reply to M5 Dial Port B both Pins needed to be outputs on Wed, 17 Apr 2024 05:49:45 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/toughbjh" aria-label="Profile: ToughBJH">@<bdi>ToughBJH</bdi></a></p>
<p dir="auto">I tested with v2.0.3 and v.2.0.4--hotfix firmware and with either firmware GPIO1 and GPIO2 act independently.</p>
<p dir="auto">BTW: v2.0.3 firmware has been built on 2024-03-21 whereas firmware v2.0.4--hotix has been built on 2024-04-16. The fact that both report 2.0.3 is probably just an oversight.</p>
<p dir="auto">Not sure where to go from here. I'd say your M5Dial might have a hardware issue, but since your seeing it on both your M5Dials that seems a bit far fetched.</p>
<p dir="auto">At this point in time I am out of ideas, sorry.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/24837</link><guid isPermaLink="true">https://community.m5stack.com/post/24837</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 17 Apr 2024 05:49:45 GMT</pubDate></item><item><title><![CDATA[Reply to M5 Dial Port B both Pins needed to be outputs on Tue, 16 Apr 2024 21:22:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a><br />
I tried your program thanks<br />
i changed pin 1 23-400 and 400 - 23<br />
and both pins follow pin 1</p>
<p dir="auto">I erased and burned 2.0.4 hotfix  twice<br />
I checked it with thonny and it says its still at 2.0.3<br />
MPY: soft reboot</p>
<pre><code>   _  __ _               
</code></pre>
<p dir="auto">_   <em>(</em>)/ <em>| | _____      __<br />
| | | | | |</em>| |/ _ \ \ /\ / /<br />
| |<em>| | |  <em>| | (</em>) \ V  V /<br />
_</em>,<em>|</em>|<em>| |</em>|___/ _/_/  2.0.3</p>
<p dir="auto">[INFO] Syncing resources...<br />
[WARN] WiFi not connected.<br />
[WARN] quit sync.<br />
MicroPython v1.22.0-dirty on 2024-04-16; M5STACK Dial with ESP32-S3-FN8</p>
<p dir="auto">Type "help()" for more information.</p>
]]></description><link>https://community.m5stack.com/post/24835</link><guid isPermaLink="true">https://community.m5stack.com/post/24835</guid><dc:creator><![CDATA[ToughBJH]]></dc:creator><pubDate>Tue, 16 Apr 2024 21:22:17 GMT</pubDate></item><item><title><![CDATA[Reply to M5 Dial Port B both Pins needed to be outputs on Tue, 16 Apr 2024 20:40:21 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/toughbjh" aria-label="Profile: ToughBJH">@<bdi>ToughBJH</bdi></a></p>
<p dir="auto">that is not what I am seeing. Please have a look at the UIFlow ProjectZone example <em>M5Dial_PWM_GPIO1_GPIO2_UIFlow2.0.4</em>.</p>
<p dir="auto">It controls GPIO1 and GPIO2 independently. I verified it with the multi-meter and two LEDs (plus resistor).</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/24834</link><guid isPermaLink="true">https://community.m5stack.com/post/24834</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 16 Apr 2024 20:40:21 GMT</pubDate></item><item><title><![CDATA[Reply to M5 Dial Port B both Pins needed to be outputs on Tue, 16 Apr 2024 19:44:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a><br />
Thanks<br />
I find that pin 2 follows pin 1 with scope<br />
try setting the duty cycle of pin 1 and watch pin 2<br />
setting duty cycle of pin 2 does nothing<br />
simpler test<br />
put led load with 330 ohm resistor on each pin  and timer for each at different times<br />
pin 2 led never lights but on scope it toggles 0- -3.3 volts<br />
I have 2 units and both do this is something wrong in the pin map set with idf?</p>
]]></description><link>https://community.m5stack.com/post/24832</link><guid isPermaLink="true">https://community.m5stack.com/post/24832</guid><dc:creator><![CDATA[ToughBJH]]></dc:creator><pubDate>Tue, 16 Apr 2024 19:44:31 GMT</pubDate></item><item><title><![CDATA[Reply to M5 Dial Port B both Pins needed to be outputs on Tue, 16 Apr 2024 15:13:02 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/toughbjh" aria-label="Profile: ToughBJH">@<bdi>ToughBJH</bdi></a></p>
<p dir="auto">in UIFlow2.0.4 after enabling <em>PWM</em> hardware I can add two <em>Init Pin</em> blocks, one for GPIO1 and one for GPIO2, set duty values for each and using a multi-meter I can confirm that both output the respective voltage.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/24828</link><guid isPermaLink="true">https://community.m5stack.com/post/24828</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 16 Apr 2024 15:13:02 GMT</pubDate></item></channel></rss>