<?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[M5Stack Atom Echo LED control with M5Unified and FastLED]]></title><description><![CDATA[<p dir="auto">Hi everyone,<br />
I have an M5Stack Atom Echo development kit that I’d like to program using the Arduino platform. According to the official recommendation, I’d like to use the M5Unified library.</p>
<p dir="auto">My problem is that I can’t control the LED at all with the M5Unified + FastLED combination - it just stays lit in white. The exact same example code works perfectly with FastLED + the old M5Stack library, but as soon as I switch it to M5Unified, it doesn’t work.<br />
Does anyone have an idea how to make it work?</p>
<p dir="auto">Not working code:</p>
<pre><code class="language-cpp">#include &lt;M5Unified.h&gt;
#include &lt;FastLED.h&gt;
#define NUM_LEDS 1
#define DATA_PIN 27

CRGB leds[NUM_LEDS];

void setup() {
  auto cfg = M5.config();
  M5.begin(cfg);
  
  FastLED.addLeds&lt;SK6812, DATA_PIN, GRB&gt;(leds, NUM_LEDS);  
  FastLED.clear();  
  FastLED.show();
}
...
</code></pre>
<p dir="auto">Working code with the old, deprecated lib:</p>
<pre><code class="language-cpp">#include &lt;M5Atom.h&gt;
#include &lt;FastLED.h&gt;
#define NUM_LEDS 1
#define DATA_PIN 27

CRGB leds[NUM_LEDS];

void setup() {
  M5.begin(true, false, true);

  FastLED.addLeds&lt;SK6812, DATA_PIN, GRB&gt;(leds, NUM_LEDS);
  FastLED.clear();
  FastLED.show();
}
...

</code></pre>
]]></description><link>https://community.m5stack.com/topic/7842/m5stack-atom-echo-led-control-with-m5unified-and-fastled</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Mar 2026 13:52:18 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7842.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 02 Oct 2025 13:13:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Stack Atom Echo LED control with M5Unified and FastLED on Sat, 13 Dec 2025 08:10:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/401118">@AustinSmith</a><br />
Unfortunately, no matter how I tried to disable it using M5Unified, I could not get it to work. In the end, adding the line suggested above finally solved the issue.</p>
<pre><code class="language-cpp">pinMode(DATA_PIN, OUTPUT); // &lt;- Add this
</code></pre>
]]></description><link>https://community.m5stack.com/post/30306</link><guid isPermaLink="true">https://community.m5stack.com/post/30306</guid><dc:creator><![CDATA[voxen]]></dc:creator><pubDate>Sat, 13 Dec 2025 08:10:55 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack Atom Echo LED control with M5Unified and FastLED on Sat, 13 Dec 2025 08:08:52 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for the advice.</p>
]]></description><link>https://community.m5stack.com/post/30305</link><guid isPermaLink="true">https://community.m5stack.com/post/30305</guid><dc:creator><![CDATA[voxen]]></dc:creator><pubDate>Sat, 13 Dec 2025 08:08:52 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack Atom Echo LED control with M5Unified and FastLED on Sat, 13 Dec 2025 08:07:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/17642">@sei</a><br />
It really was just this one thing that was missing, and now it works.<br />
Thank you very much. :)</p>
<p dir="auto">I have already read through several forums and tried multiple AI tools, but I could not find the solution in any of them. With this, however, it truly works. I do not understand why these things are not properly documented somewhere.</p>
]]></description><link>https://community.m5stack.com/post/30304</link><guid isPermaLink="true">https://community.m5stack.com/post/30304</guid><dc:creator><![CDATA[voxen]]></dc:creator><pubDate>Sat, 13 Dec 2025 08:07:53 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack Atom Echo LED control with M5Unified and FastLED on Wed, 10 Dec 2025 09:10:04 GMT]]></title><description><![CDATA[<p dir="auto">The LED stays white because M5Unified controls it by default, which conflicts with FastLED. You need to turn off M5Unified’s built-in LED control first. Once that’s disabled, FastLED will work normally.</p>
]]></description><link>https://community.m5stack.com/post/30296</link><guid isPermaLink="true">https://community.m5stack.com/post/30296</guid><dc:creator><![CDATA[AustinSmith]]></dc:creator><pubDate>Wed, 10 Dec 2025 09:10:04 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack Atom Echo LED control with M5Unified and FastLED on Thu, 27 Nov 2025 10:16:53 GMT]]></title><description><![CDATA[<p dir="auto">I think this is the solution.<br />
pinMode(DATA_PIN, OUTPUT) is the KEY which set the GPIO pin of LED mode to output.</p>
<pre><code>auto cfg = M5.config();
M5.begin(cfg);

pinMode(DATA_PIN, OUTPUT); // &lt;- Add this

FastLED.addLeds&lt;NEOPIXEL,DATA_PIN&gt;(leds, NUM_LEDS);
FastLED.setBrightness(50);
</code></pre>
]]></description><link>https://community.m5stack.com/post/30243</link><guid isPermaLink="true">https://community.m5stack.com/post/30243</guid><dc:creator><![CDATA[sei]]></dc:creator><pubDate>Thu, 27 Nov 2025 10:16:53 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack Atom Echo LED control with M5Unified and FastLED on Sat, 22 Nov 2025 10:07:58 GMT]]></title><description><![CDATA[<p dir="auto">Using M5Stack Atom Echo with M5Unified and FastLED is a smart combo. If you're going for tight control over the LEDs, make sure your timing loop is well-optimized and that you're handling brightness safely (to avoid flicker or overheating). Also, consider breaking your effects into functions so you can easily expand or tweak them later.</p>
]]></description><link>https://community.m5stack.com/post/30222</link><guid isPermaLink="true">https://community.m5stack.com/post/30222</guid><dc:creator><![CDATA[carlbidwell]]></dc:creator><pubDate>Sat, 22 Nov 2025 10:07:58 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack Atom Echo LED control with M5Unified and FastLED on Thu, 20 Nov 2025 10:33:19 GMT]]></title><description><![CDATA[<p dir="auto">I like how you’re tackling LED control on the M5Stack Atom Echo using M5Unified + FastLED. The core problem of the LED staying white when switching to Unified is something others have run into too. For a similar discussion on controlling Atom Matrix LEDs using FastLED, you can check out <a href="https://community.m5stack.com/topic/2230/controlling-atom-matrix-leds">https://community.m5stack.com/topic/</a><a href="https://realestateagentslondon.co.uk/" target="_blank" rel="noopener noreferrer nofollow ugc">visit site</a><a href="https://community.m5stack.com/topic/2230/controlling-atom-matrix-leds">2230/controlling-atom-matrix-leds.</a></p>
]]></description><link>https://community.m5stack.com/post/30214</link><guid isPermaLink="true">https://community.m5stack.com/post/30214</guid><dc:creator><![CDATA[mattewwade06]]></dc:creator><pubDate>Thu, 20 Nov 2025 10:33:19 GMT</pubDate></item></channel></rss>