<?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[GPIO32 of M5core2 is always HIGH and cannot be used as input.]]></title><description><![CDATA[<p dir="auto">GPIO32 of M5core2 is always HIGH and cannot be used as input.</p>
<p dir="auto">I want to use MBUS's G32 as input(digitalRead) instead of I2C.<br />
If I actually do this, it will always be HIGH.</p>
<p dir="auto">I thought it was strange, so I checked the status of the G32 with a multitester, and found that 3.3V is always output from the G32.</p>
<p dir="auto">M5.begin is set up as follows, and the fourth I2CEnable is false.</p>
<p dir="auto">M5.begin(true, true, true, false, kMBusModeInput);</p>
<p dir="auto">Also, there is an EXT.I2C PULLUP in the lower right corner of the schematic, do I have to remove this pullup resistor to use it as input? Or is there a way to use it as input in software?</p>
<p dir="auto">If anyone knows, please let me know.</p>
]]></description><link>https://community.m5stack.com/topic/3726/gpio32-of-m5core2-is-always-high-and-cannot-be-used-as-input</link><generator>RSS for Node</generator><lastBuildDate>Fri, 08 May 2026 04:16:27 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3726.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 11 Nov 2021 08:28:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to GPIO32 of M5core2 is always HIGH and cannot be used as input. on Thu, 11 Nov 2021 12:45:58 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/rin9147" aria-label="Profile: rin9147">@<bdi>rin9147</bdi></a></p>
<p dir="auto">no, you can but you don't need to remove the pullup resistor. If you read GPIO32 like this it will report HIGH and when you connect GPIO32 to GND with a wire is should read LOW. Use below code to set GPIO32 as input and do something when it is read LOW.</p>
<pre><code>pinMode(32, INPUT);
if(digitalRead(32) == LOW) ...
</code></pre>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/15431</link><guid isPermaLink="true">https://community.m5stack.com/post/15431</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 11 Nov 2021 12:45:58 GMT</pubDate></item></channel></rss>