I’m trying to get FastLED working with NodeMCU using the Arduino IDE and unfortunately I’m not able to compile the ‘Blink’ example program and I get pages of errors.
I’m using Arduin 1.6.5 and the 3.1.0 version of Fast LED
Here is the mass of errors - I must be missing something fundemental - what is it!! It compiles ok for the Arduino uno but not for the Node MCU or ESP8266 but Iunderstand that this hardware is now included?
***************************************************
In file included from Blink.ino:1:0:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:12:2: warning: #warning FastLED version 3.001.000 (Not really a warning, just telling you here.) [-Wcpp]
#warning FastLED version 3.001.000 (Not really a warning, just telling you here.)
^
In file included from C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:34:0,
from Blink.ino:1:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/led_sysdefs.h:22:2: error: #error “XTENSA-architecture microcontrollers are not supported.”
#error “XTENSA-architecture microcontrollers are not supported.”
^
In file included from C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:42:0,
from Blink.ino:1:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/platforms.h:22:2: error: #error “XTENSA-architecture microcontrollers are not supported”
#error “XTENSA-architecture microcontrollers are not supported”
^
In file included from C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:53:0,
from Blink.ino:1:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastspi.h:98:2: warning: #warning “No hardware SPI pins defined. All SPI access will default to bitbanged output” [-Wcpp]
#warning “No hardware SPI pins defined. All SPI access will default to bitbanged output”
^
In file included from Blink.ino:1:0:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:483:2: warning: #warning “No pin/port mappings found, pin access will be slightly slower. See fastpin.h for info.” [-Wcpp]
#warning “No pin/port mappings found, pin access will be slightly slower. See fastpin.h for info.”
^
In file included from C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/pixeltypes.h:5:0,
from C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/controller.h:8,
from C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:37,
from Blink.ino:1:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/lib8tion.h:832:17: error: new declaration ‘uint32_t millis()’
uint32_t millis();
^
In file included from C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/led_sysdefs.h:36:0,
from C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:34,
from Blink.ino:1:
C:\Users\SC-Home\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0\cores\esp8266/Arduino.h:191:15: error: ambiguates old declaration ‘long unsigned int millis()’
unsigned long millis(void);
^
In file included from C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:38:0,
from Blink.ino:1:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:29:11: error: ‘RwReg’ does not name a type
volatile RwReg *mPort;
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:30:11: error: ‘RoReg’ does not name a type
volatile RoReg *mInPort;
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:31:2: error: ‘RwReg’ does not name a type
RwReg mPinMask;
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:42:19: error: ‘RwReg’ does not name a type
typedef volatile RwReg * port_ptr_t;
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:43:10: error: ‘RwReg’ does not name a type
typedef RwReg port_t;
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:54:26: error: ‘port_ptr_t’ does not name a type
inline void hi(register port_ptr_t port) attribute ((always_inline)) { *port |= mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:54:37: error: ISO C++ forbids declaration of ‘port’ with no type [-fpermissive]
inline void hi(register port_ptr_t port) attribute ((always_inline)) { *port |= mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:55:26: error: ‘port_ptr_t’ does not name a type
inline void lo(register port_ptr_t port) attribute ((always_inline)) { *port &= ~mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:55:37: error: ISO C++ forbids declaration of ‘port’ with no type [-fpermissive]
inline void lo(register port_ptr_t port) attribute ((always_inline)) { *port &= ~mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:56:27: error: ‘port_t’ does not name a type
inline void set(register port_t val) attribute ((always_inline)) { *mPort = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:56:34: error: ISO C++ forbids declaration of ‘val’ with no type [-fpermissive]
inline void set(register port_t val) attribute ((always_inline)) { *mPort = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:58:31: error: ‘port_ptr_t’ does not name a type
inline void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { *port = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:58:42: error: ISO C++ forbids declaration of ‘port’ with no type [-fpermissive]
inline void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { *port = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:58:57: error: ‘port_t’ does not name a type
inline void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { *port = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:58:64: error: ISO C++ forbids declaration of ‘val’ with no type [-fpermissive]
inline void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { *port = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:60:2: error: ‘port_t’ does not name a type
port_t hival() attribute ((always_inline)) { return *mPort | mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:61:2: error: ‘port_t’ does not name a type
port_t loval() attribute ((always_inline)) { return *mPort & ~mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:62:2: error: ‘port_ptr_t’ does not name a type
port_ptr_t port() attribute ((always_inline)) { return mPort; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:63:2: error: ‘port_t’ does not name a type
port_t mask() attribute ((always_inline)) { return mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In member function ‘void Pin::_init()’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:35:3: error: ‘mPinMask’ was not declared in this scope
mPinMask = digitalPinToBitMask(mPin);
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:36:3: error: ‘mPort’ was not declared in this scope
mPort = portOutputRegister(digitalPinToPort(mPin));
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:37:3: error: ‘mInPort’ was not declared in this scope
mInPort = portInputRegister(digitalPinToPort(mPin));
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In member function ‘void Pin::hi()’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:48:54: error: ‘mPort’ was not declared in this scope
inline void hi() attribute ((always_inline)) { *mPort |= mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:48:63: error: ‘mPinMask’ was not declared in this scope
inline void hi() attribute ((always_inline)) { *mPort |= mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In member function ‘void Pin::lo()’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:49:54: error: ‘mPort’ was not declared in this scope
inline void lo() attribute ((always_inline)) { *mPort &= ~mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:49:64: error: ‘mPinMask’ was not declared in this scope
inline void lo() attribute ((always_inline)) { *mPort &= ~mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In member function ‘void Pin::toggle()’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:52:58: error: ‘mInPort’ was not declared in this scope
inline void toggle() attribute ((always_inline)) { *mInPort = mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:52:68: error: ‘mPinMask’ was not declared in this scope
inline void toggle() attribute ((always_inline)) { mInPort = mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In member function ‘void Pin::hi(int)’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:54:78: error: invalid type argument of unary '’ (have ‘int’)
inline void hi(register port_ptr_t port) attribute ((always_inline)) { *port |= mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:54:86: error: ‘mPinMask’ was not declared in this scope
inline void hi(register port_ptr_t port) attribute ((always_inline)) { port |= mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In member function ‘void Pin::lo(int)’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:55:78: error: invalid type argument of unary '’ (have ‘int’)
inline void lo(register port_ptr_t port) attribute ((always_inline)) { *port &= ~mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:55:87: error: ‘mPinMask’ was not declared in this scope
inline void lo(register port_ptr_t port) attribute ((always_inline)) { *port &= ~mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In member function ‘void Pin::set(int)’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:56:74: error: ‘mPort’ was not declared in this scope
inline void set(register port_t val) attribute ((always_inline)) { mPort = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In member function ‘void Pin::fastset(int, int)’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:58:104: error: invalid type argument of unary '’ (have ‘int’)
inline void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { *port = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In member function ‘virtual bool Pin::isSelected()’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:67:39: error: ‘mPort’ was not declared in this scope
virtual bool isSelected() { return (*mPort & mPinMask) == mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:67:47: error: ‘mPinMask’ was not declared in this scope
virtual bool isSelected() { return (*mPort & mPinMask) == mPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: At global scope:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:155:9: error: ‘RwReg’ does not name a type
static RwReg sPinMask;
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:156:18: error: ‘RwReg’ does not name a type
static volatile RwReg *sPort;
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:157:18: error: ‘RoReg’ does not name a type
static volatile RoReg *sInPort;
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:166:19: error: ‘RwReg’ does not name a type
typedef volatile RwReg * port_ptr_t;
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:167:10: error: ‘RwReg’ does not name a type
typedef RwReg port_t;
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:179:33: error: ‘port_ptr_t’ does not name a type
inline static void hi(register port_ptr_t port) attribute ((always_inline)) { *port |= sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:179:44: error: ISO C++ forbids declaration of ‘port’ with no type [-fpermissive]
inline static void hi(register port_ptr_t port) attribute ((always_inline)) { *port |= sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:180:33: error: ‘port_ptr_t’ does not name a type
inline static void lo(register port_ptr_t port) attribute ((always_inline)) { *port &= ~sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:180:44: error: ISO C++ forbids declaration of ‘port’ with no type [-fpermissive]
inline static void lo(register port_ptr_t port) attribute ((always_inline)) { *port &= ~sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:181:34: error: ‘port_t’ does not name a type
inline static void set(register port_t val) attribute ((always_inline)) { *sPort = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:181:41: error: ISO C++ forbids declaration of ‘val’ with no type [-fpermissive]
inline static void set(register port_t val) attribute ((always_inline)) { *sPort = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:183:38: error: ‘port_ptr_t’ does not name a type
inline static void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { *port = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:183:49: error: ISO C++ forbids declaration of ‘port’ with no type [-fpermissive]
inline static void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { *port = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:183:64: error: ‘port_t’ does not name a type
inline static void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { *port = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:183:71: error: ISO C++ forbids declaration of ‘val’ with no type [-fpermissive]
inline static void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { *port = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:185:9: error: ‘port_t’ does not name a type
static port_t hival() attribute ((always_inline)) { return *sPort | sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:186:9: error: ‘port_t’ does not name a type
static port_t loval() attribute ((always_inline)) { return *sPort & ~sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:187:9: error: ‘port_ptr_t’ does not name a type
static port_ptr_t port() attribute ((always_inline)) { return sPort; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:188:9: error: ‘port_t’ does not name a type
static port_t mask() attribute ((always_inline)) { return sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In static member function ‘static void FastPin::_init()’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:160:3: error: ‘sPinMask’ was not declared in this scope
sPinMask = digitalPinToBitMask(PIN);
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:161:3: error: ‘sPort’ was not declared in this scope
sPort = portOutputRegister(digitalPinToPort(PIN));
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:162:3: error: ‘sInPort’ was not declared in this scope
sInPort = portInputRegister(digitalPinToPort(PIN));
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In static member function ‘static void FastPin::hi()’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:172:61: error: ‘sPort’ was not declared in this scope
inline static void hi() attribute ((always_inline)) { *sPort |= sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:172:70: error: ‘sPinMask’ was not declared in this scope
inline static void hi() attribute ((always_inline)) { *sPort |= sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In static member function ‘static void FastPin::lo()’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:173:61: error: ‘sPort’ was not declared in this scope
inline static void lo() attribute ((always_inline)) { *sPort &= ~sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:173:71: error: ‘sPinMask’ was not declared in this scope
inline static void lo() attribute ((always_inline)) { *sPort &= ~sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In static member function ‘static void FastPin::toggle()’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:177:65: error: ‘sInPort’ was not declared in this scope
inline static void toggle() attribute ((always_inline)) { *sInPort = sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:177:75: error: ‘sPinMask’ was not declared in this scope
inline static void toggle() attribute ((always_inline)) { sInPort = sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In static member function ‘static void FastPin::hi(int)’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:179:85: error: invalid type argument of unary '’ (have ‘int’)
inline static void hi(register port_ptr_t port) attribute ((always_inline)) { *port |= sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:179:93: error: ‘sPinMask’ was not declared in this scope
inline static void hi(register port_ptr_t port) attribute ((always_inline)) { port |= sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In static member function ‘static void FastPin::lo(int)’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:180:85: error: invalid type argument of unary '’ (have ‘int’)
inline static void lo(register port_ptr_t port) attribute ((always_inline)) { *port &= ~sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:180:94: error: ‘sPinMask’ was not declared in this scope
inline static void lo(register port_ptr_t port) attribute ((always_inline)) { *port &= ~sPinMask; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In static member function ‘static void FastPin::set(int)’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:181:81: error: ‘sPort’ was not declared in this scope
inline static void set(register port_t val) attribute ((always_inline)) { sPort = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: In static member function ‘static void FastPin::fastset(int, int)’:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:183:111: error: invalid type argument of unary '’ (have ‘int’)
inline static void fastset(register port_ptr_t port, register port_t val) attribute ((always_inline)) { *port = val; }
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h: At global scope:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:191:23: error: ‘RwReg’ does not name a type
template<uint8_t PIN> RwReg FastPin::sPinMask;
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:192:32: error: ‘RwReg’ does not name a type
template<uint8_t PIN> volatile RwReg *FastPin::sPort;
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/fastpin.h:193:32: error: ‘RoReg’ does not name a type
template<uint8_t PIN> volatile RoReg FastPin::sInPort;
^
Blink.ino: In function ‘void setup()’:
Blink:22: error: ‘WS2812B’ was not declared in this scope
Blink:22: error: no matching function for call to ‘CFastLED::addLeds(CRGB [16], int)’
Blink.ino:22:62: note: candidates are:
In file included from Blink.ino:1:0:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:172:129: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER, unsigned char SPI_DATA_RATE> CLEDController& CFastLED::addLeds(CRGB, int, int)
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint8_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:172:129: note: template argument deduction/substitution failed:
Blink:22: error: template argument 1 is invalid
In file included from Blink.ino:1:0:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:184:95: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN> static CLEDController& CFastLED::addLeds(CRGB, int, int)
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:184:95: note: template argument deduction/substitution failed:
Blink:22: error: template argument 1 is invalid
In file included from Blink.ino:1:0:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:196:113: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB, int, int)
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER > static CLEDController &addLeds(struct CRGB data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:196:113: note: template argument deduction/substitution failed:
Blink:22: error: template argument 1 is invalid
In file included from Blink.ino:1:0:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:292:25: note: template<template class CHIPSET, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB, int, int)
static CLEDController &addLeds(struct CRGB data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:292:25: note: template argument deduction/substitution failed:
Blink:22: error: wrong number of template arguments (3, should be 2)
In file included from Blink.ino:1:0:
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:298:25: note: template<template class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB, int, int)
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^
C:\Users\SC-Home\Documents\Arduino\libraries\FastLED/FastLED.h:298:25: note: template argument deduction/substitution failed:
Blink:22: error: wrong number of template arguments (3, should be 1)
‘WS2812B’ was not declared in this scope