<?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[M5Unified compiler error with FastLED &quot;invalid pin specified&quot;]]></title><description><![CDATA[<p dir="auto">I was able to get my <code>M5Stack</code> code base to work on the <code>M5AtomS3</code> with <code>M5Unified</code> (my first time using both).</p>
<p dir="auto">As I'm now trying to get various sensors to work, the first is the external LED.</p>
<p dir="auto">But I get the following compiler error:</p>
<p dir="auto"><strong>clockless_rmt_esp32.h:358:46: error: static assertion failed: Invalid pin specified</strong></p>
<blockquote>
<p dir="auto">fastled_esp32.h:12</p>
</blockquote>
<p dir="auto">Full file path shown:</p>
<pre><code>
In file included from /Users/scott/Documents/Arduino/libraries/FastLED/src/platforms/esp/32/fastled_esp32.h:12,
                 from /Users/scott/Documents/Arduino/libraries/FastLED/src/platforms.h:36,
                 from /Users/scott/Documents/Arduino/libraries/FastLED/src/FastLED.h:54,
                 from /Users/scott/Documents/Arduino/libraries/M5AtomS3/src/./utility/LedDisplay.h:4,
                 from /Users/scott/Documents/Arduino/libraries/M5AtomS3/src/M5AtomS3.h:6,
                 from /Users/scott/Documents/GitHub/M5Unified-ESP_IOT_Nov24/ESP32_M5Unified/ESP_IOT/Defines.h:467,
                 from /Users/scott/Documents/GitHub/M5Unified-ESP_IOT_Nov24/ESP32_M5Unified/ESP_IOT/src/SensorClass/KeyUnitSensorClass.h:3,
                 from /Users/scott/Documents/GitHub/M5Unified-ESP_IOT_Nov24/ESP32_M5Unified/ESP_IOT/src/SensorClass/KeyUnitSensorClass.cpp:2:
/Users/scott/Documents/Arduino/libraries/FastLED/src/platforms/esp/32/clockless_rmt_esp32.h: In instantiation of 'class ClocklessController&lt;23, 72, 72, 144, (EOrder)66, 0, false, 5&gt;':
/Users/scott/Documents/Arduino/libraries/FastLED/src/chipsets.h:605:7:   required from 'class SK6812Controller&lt;23, (EOrder)66&gt;'
/Users/scott/Documents/Arduino/libraries/FastLED/src/FastLED.h:109:52:   required from 'class SK6812&lt;23, (EOrder)66&gt;'
/Users/scott/Documents/Arduino/libraries/FastLED/src/FastLED.h:304:39:   required from 'static CLEDController&amp; CFastLED::addLeds(CRGB*, int, int) [with CHIPSET = SK6812; unsigned char DATA_PIN = 23; EOrder RGB_ORDER = (EOrder)66]'
/Users/scott/Documents/GitHub/M5Unified-ESP_IOT_Nov24/ESP32_M5Unified/ESP_IOT/src/SensorClass/KeyUnitSensorClass.cpp:124:54:   required from here
/Users/scott/Documents/Arduino/libraries/FastLED/src/platforms/esp/32/clockless_rmt_esp32.h:358:46: error: static assertion failed: Invalid pin specified
     static_assert(FastPin&lt;DATA_PIN&gt;::validpin(), "Invalid pin specified");
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
</code></pre>
<p dir="auto">Any ideas?<br />
Should these errors be added to the <a href="https://github.com/m5stack/M5Unified" target="_blank" rel="noopener noreferrer nofollow ugc">GitHub</a>?</p>
<p dir="auto">thanks,<br />
scott</p>
]]></description><link>https://community.m5stack.com/topic/7025/m5unified-compiler-error-with-fastled-invalid-pin-specified</link><generator>RSS for Node</generator><lastBuildDate>Wed, 06 May 2026 21:32:54 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7025.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Nov 2024 17:51:01 GMT</pubDate><ttl>60</ttl></channel></rss>