<?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[M5Atom Matrix, M5Unfied, controlling leds]]></title><description><![CDATA[<p dir="auto">Hi am stumped,<br />
I just can't control the leds anymore.<br />
This is my code, no led goes on.<br />
Any suggestion where I am going terrible wrong?</p>
<pre><code>#include &lt;arduino.h&gt;
 #include &lt;M5Unified.h&gt;
 #include &lt;FastLED.h&gt;
 #define NUM_LEDS 25
#define DATA_PIN 27
#define CLOCK_PIN 13
CRGB leds[NUM_LEDS];

void setup() {
auto cfg = M5.config();
cfg.serial_baudrate = 115200;
cfg.output_power = true;
M5.begin(cfg);
    //FastLED.addLeds&lt;WS2812, DATA_PIN,GRB&gt;(leds, NUM_LEDS);  // GRB ordering is assumed
    FastLED.addLeds&lt;NEOPIXEL, DATA_PIN&gt;(leds, NUM_LEDS); 

    for (int i=0;i&lt;NUM_LEDS;i++) {leds[i]=CRGB::Red;};FastLED.show();


}
</code></pre>
]]></description><link>https://community.m5stack.com/topic/7969/m5atom-matrix-m5unfied-controlling-leds</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 11:00:41 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7969.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Dec 2025 14:26:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Atom Matrix, M5Unfied, controlling leds on Fri, 26 Dec 2025 11:06:37 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> thanks.   Indeed. Leaving out m5unified does the trick. Though I haven’t read anything about an incompatibility between M5Unified and FastLed.  Regards.</p>
]]></description><link>https://community.m5stack.com/post/30359</link><guid isPermaLink="true">https://community.m5stack.com/post/30359</guid><dc:creator><![CDATA[HappyUser]]></dc:creator><pubDate>Fri, 26 Dec 2025 11:06:37 GMT</pubDate></item><item><title><![CDATA[Reply to M5Atom Matrix, M5Unfied, controlling leds on Wed, 24 Dec 2025 16:08:46 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/happyuser" aria-label="Profile: HappyUser">@<bdi>HappyUser</bdi></a></p>
<p dir="auto">M5Unified has built-in LED support. My guess is that the two, M5Unified and FastLED, are 'fighting' for the LED. Have a look <a href="https://docs.m5stack.com/en/arduino/m5unified/led_class" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>. There is an example at the end of the page.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/30356</link><guid isPermaLink="true">https://community.m5stack.com/post/30356</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 24 Dec 2025 16:08:46 GMT</pubDate></item></channel></rss>