<?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[M5StickC built in LED]]></title><description><![CDATA[<p dir="auto">Any insight on how the red led on pin 10 of the M5StickC is wired up?<br />
I noticed that, using the Arduino IDE<br />
pinMode(10, OUTPUT);<br />
turns the LED on and subsequently<br />
digitalWrite(10, HIGH);<br />
turns it OFF, while<br />
digitalWrite(10, LOW);<br />
turns it ON again</p>
]]></description><link>https://community.m5stack.com/topic/1269/m5stickc-built-in-led</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 16:18:33 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1269.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 29 Aug 2019 17:07:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5StickC built in LED on Tue, 07 Feb 2023 03:36:46 GMT]]></title><description><![CDATA[<p dir="auto">Thanks! That workaround works.</p>
<p dir="auto">You only see the brief flash when applying power or when the IDE uploads the code and hard resets via RTS.</p>
<p dir="auto">If you do this:</p>
<p dir="auto">#include &lt;M5StickCPlus.h&gt;<br />
void setup() {<br />
M5.begin();<br />
digitalWrite (M5_LED, HIGH); // turn off the LED<br />
pinMode(M5_LED, OUTPUT);<br />
digitalWrite (M5_LED, HIGH);  // off<br />
}<br />
void loop() {<br />
delay(10);<br />
ESP.restart();<br />
}</p>
<p dir="auto">the LED does not flash repeatedly.</p>
]]></description><link>https://community.m5stack.com/post/20034</link><guid isPermaLink="true">https://community.m5stack.com/post/20034</guid><dc:creator><![CDATA[wsanders]]></dc:creator><pubDate>Tue, 07 Feb 2023 03:36:46 GMT</pubDate></item><item><title><![CDATA[Reply to M5StickC built in LED on Mon, 06 Feb 2023 11:00:29 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/wsanders" aria-label="Profile: wsanders">@<bdi>wsanders</bdi></a></p>
<p dir="auto">I don't see the brief blink myself, but have you tried to swap the two statements?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/20030</link><guid isPermaLink="true">https://community.m5stack.com/post/20030</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Mon, 06 Feb 2023 11:00:29 GMT</pubDate></item><item><title><![CDATA[Reply to M5StickC built in LED on Mon, 06 Feb 2023 10:09:02 GMT]]></title><description><![CDATA[<p dir="auto">It’s a oddity that some pins on the esp32 variant often work backwards</p>
]]></description><link>https://community.m5stack.com/post/20028</link><guid isPermaLink="true">https://community.m5stack.com/post/20028</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Mon, 06 Feb 2023 10:09:02 GMT</pubDate></item><item><title><![CDATA[Reply to M5StickC built in LED on Mon, 06 Feb 2023 04:30:07 GMT]]></title><description><![CDATA[<p dir="auto">(I'll go ahead and bump this. So sue me.)</p>
<p dir="auto">Bear in mind that when you initialize the pin with:</p>
<p dir="auto">M5.begin();<br />
...<br />
pinMode(M5_LED, OUTPUT);<br />
digitalWrite (M5_LED, HIGH); // turn off the LED</p>
<p dir="auto">The LED will blink briefly. I don't know of a workaround. I also know virtually nothing about ESP pin frobbing.</p>
]]></description><link>https://community.m5stack.com/post/20026</link><guid isPermaLink="true">https://community.m5stack.com/post/20026</guid><dc:creator><![CDATA[wsanders]]></dc:creator><pubDate>Mon, 06 Feb 2023 04:30:07 GMT</pubDate></item><item><title><![CDATA[Reply to M5StickC built in LED on Mon, 09 Mar 2020 04:18:50 GMT]]></title><description><![CDATA[<p dir="auto">Its common to wire a LED to a GPIO (pin)  as Active "Low".</p>
<p dir="auto">One pin of the LED gets wired to +V and the other pin goes to the GPIO.<br />
At some point there is most likely a resister to limit the current.</p>
<p dir="auto">Apparently its easier (less heat?) for the GPIO (pin) to source power by pulling the circut "low".</p>
]]></description><link>https://community.m5stack.com/post/7697</link><guid isPermaLink="true">https://community.m5stack.com/post/7697</guid><dc:creator><![CDATA[Kyklist]]></dc:creator><pubDate>Mon, 09 Mar 2020 04:18:50 GMT</pubDate></item></channel></rss>