I download your example and its compile on ESP-IDF (ESP32) VScode extension without any problem, but when I try to you it on the project I migrate from Arduino there are too many error as shown below:
Code: Untitled.txt Select all
../components/FastLED-idf/FastLED.h:270:62: error: 'RGB_ORDER' was not declared in this scope
case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^~~~~~~~~
../components/FastLED-idf/FastLED.h:270:62: note: suggested alternative: 'BYTE_ORDER'
case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^~~~~~~~~
BYTE_ORDER
../components/FastLED-idf/FastLED.h:270:71: error: template argument 3 is invalid
case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:270:129: error: no matching function for call to 'CFastLED::addLeds(int*, CRGB*&, int&, int&)'
case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:213:25: note: candidate: 'static CLEDController& CFastLED::addLeds(CLEDController*, CRGB*, int, int)'
static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
^~~~~~~
../components/FastLED-idf/FastLED.h:213:25: note: no known conversion for argument 1 from 'int*' to 'CLEDController*'
../components/FastLED-idf/FastLED.h:235:130: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error>, unsigned int SPI_DATA_RATE> CLEDController& CFastLED::addLeds(CRGB*, int, int)'
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint32_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:235:130: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:270:129: note: candidate expects 3 arguments, 4
provided
case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:249:95: note: candidate: '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) {
^~~~~~~
../components/FastLED-idf/FastLED.h:249:95: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:270:129: note: candidate expects 3 arguments, 4
provided
case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:263:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error> > 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) {
^~~~~~~
../components/FastLED-idf/FastLED.h:263:113: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:270:129: note: candidate expects 3 arguments, 4
provided
case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:313:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN, <declaration error> > static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:313:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:270:129: note: candidate expects 3 arguments, 4
provided
case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:319:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN> static
CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:319:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:270:129: note: candidate expects 3 arguments, 4
provided
case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:325:25: note: candidate: 'template<template<unsigned char DATA_PIN> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:325:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:270:129: note: candidate expects 3 arguments, 4
provided
case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:375:25: note: candidate: 'template<template<<declaration error> > class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:375:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:270:129: note: candidate expects 3 arguments, 4
provided
case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:272:64: error: 'RGB_ORDER' was not declared in this scope
case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^~~~~~~~~
../components/FastLED-idf/FastLED.h:272:64: note: suggested alternative: 'BYTE_ORDER'
case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^~~~~~~~~
BYTE_ORDER
../components/FastLED-idf/FastLED.h:272:73: error: template argument 3 is invalid
case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:272:131: error: no matching function for call to 'CFastLED::addLeds(int*, CRGB*&, int&, int&)'
case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:213:25: note: candidate: 'static CLEDController& CFastLED::addLeds(CLEDController*, CRGB*, int, int)'
static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
^~~~~~~
../components/FastLED-idf/FastLED.h:213:25: note: no known conversion for argument 1 from 'int*' to 'CLEDController*'
../components/FastLED-idf/FastLED.h:235:130: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error>, unsigned int SPI_DATA_RATE> CLEDController& CFastLED::addLeds(CRGB*, int, int)'
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint32_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:235:130: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:272:131: note: candidate expects 3 arguments, 4
provided
case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:249:95: note: candidate: '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) {
^~~~~~~
../components/FastLED-idf/FastLED.h:249:95: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:272:131: note: candidate expects 3 arguments, 4
provided
case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:263:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error> > 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) {
^~~~~~~
../components/FastLED-idf/FastLED.h:263:113: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:272:131: note: candidate expects 3 arguments, 4
provided
case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:313:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN, <declaration error> > static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:313:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:272:131: note: candidate expects 3 arguments, 4
provided
case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:319:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN> static
CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:319:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:272:131: note: candidate expects 3 arguments, 4
provided
case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:325:25: note: candidate: 'template<template<unsigned char DATA_PIN> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:325:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:272:131: note: candidate expects 3 arguments, 4
provided
case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:375:25: note: candidate: 'template<template<<declaration error> > class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:375:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:272:131: note: candidate expects 3 arguments, 4
provided
case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:273:64: error: 'RGB_ORDER' was not declared in this scope
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^~~~~~~~~
../components/FastLED-idf/FastLED.h:273:64: note: suggested alternative: 'BYTE_ORDER'
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^~~~~~~~~
BYTE_ORDER
../components/FastLED-idf/FastLED.h:273:73: error: template argument 3 is invalid
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:273:131: error: no matching function for call to 'CFastLED::addLeds(int*, CRGB*&, int&, int&)'
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:213:25: note: candidate: 'static CLEDController& CFastLED::addLeds(CLEDController*, CRGB*, int, int)'
static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
^~~~~~~
../components/FastLED-idf/FastLED.h:213:25: note: no known conversion for argument 1 from 'int*' to 'CLEDController*'
../components/FastLED-idf/FastLED.h:235:130: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error>, unsigned int SPI_DATA_RATE> CLEDController& CFastLED::addLeds(CRGB*, int, int)'
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint32_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:235:130: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:273:131: note: candidate expects 3 arguments, 4
provided
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:249:95: note: candidate: '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) {
^~~~~~~
../components/FastLED-idf/FastLED.h:249:95: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:273:131: note: candidate expects 3 arguments, 4
provided
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:263:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error> > 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) {
^~~~~~~
../components/FastLED-idf/FastLED.h:263:113: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:273:131: note: candidate expects 3 arguments, 4
provided
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:313:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN, <declaration error> > static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:313:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:273:131: note: candidate expects 3 arguments, 4
provided
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:319:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN> static
CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:319:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:273:131: note: candidate expects 3 arguments, 4
provided
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:325:25: note: candidate: 'template<template<unsigned char DATA_PIN> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:325:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:273:131: note: candidate expects 3 arguments, 4
provided
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:375:25: note: candidate: 'template<template<<declaration error> > class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:375:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:273:131: note: candidate expects 3 arguments, 4
provided
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h: In static member function 'static CLEDController& CFastLED::addLeds(CRGB*, int, int)':
../components/FastLED-idf/FastLED.h:314:28: error: 'RGB_ORDER' was not declared in this scope
static CHIPSET<DATA_PIN, RGB_ORDER> c;
^~~~~~~~~
../components/FastLED-idf/FastLED.h:314:28: note: suggested alternative: 'BYTE_ORDER'
static CHIPSET<DATA_PIN, RGB_ORDER> c;
^~~~~~~~~
BYTE_ORDER
../components/FastLED-idf/FastLED.h:314:37: error: template argument 2 is invalid
static CHIPSET<DATA_PIN, RGB_ORDER> c;
^
../components/FastLED-idf/FastLED.h:315:56: error: no matching function for call to 'CFastLED::addLeds(int*, CRGB*&, int&, int&)'
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:213:25: note: candidate: 'static CLEDController& CFastLED::addLeds(CLEDController*, CRGB*, int, int)'
static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
^~~~~~~
../components/FastLED-idf/FastLED.h:213:25: note: no known conversion for argument 1 from 'int*' to 'CLEDController*'
../components/FastLED-idf/FastLED.h:235:130: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error>, unsigned int SPI_DATA_RATE> CLEDController& CFastLED::addLeds(CRGB*, int, int)'
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint32_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:235:130: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:315:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:249:95: note: candidate: '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) {
^~~~~~~
../components/FastLED-idf/FastLED.h:249:95: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:315:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:263:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error> > 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) {
^~~~~~~
../components/FastLED-idf/FastLED.h:263:113: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:315:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:313:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN, <declaration error> > static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:313:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:315:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:319:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN> static
CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:319:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:315:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:325:25: note: candidate: 'template<template<unsigned char DATA_PIN> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:325:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:315:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:375:25: note: candidate: 'template<template<<declaration error> > class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:375:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:315:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h: In static member function 'static CLEDController& CFastLED::addLeds(CRGB*, int, int)':
../components/FastLED-idf/FastLED.h:320:28: error: 'RGB' was not declared in this scope
static CHIPSET<DATA_PIN, RGB> c;
^~~
../components/FastLED-idf/FastLED.h:320:28: note: suggested alternative: 'CRGB'
static CHIPSET<DATA_PIN, RGB> c;
^~~
CRGB
../components/FastLED-idf/FastLED.h:320:31: error: template argument 2 is invalid
static CHIPSET<DATA_PIN, RGB> c;
^
../components/FastLED-idf/FastLED.h:321:56: error: no matching function for call to 'CFastLED::addLeds(int*, CRGB*&, int&, int&)'
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:213:25: note: candidate: 'static CLEDController& CFastLED::addLeds(CLEDController*, CRGB*, int, int)'
static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
^~~~~~~
../components/FastLED-idf/FastLED.h:213:25: note: no known conversion for argument 1 from 'int*' to 'CLEDController*'
../components/FastLED-idf/FastLED.h:235:130: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error>, unsigned int SPI_DATA_RATE> CLEDController& CFastLED::addLeds(CRGB*, int, int)'
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint32_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:235:130: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:321:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:249:95: note: candidate: '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) {
^~~~~~~
../components/FastLED-idf/FastLED.h:249:95: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:321:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:263:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error> > 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) {
^~~~~~~
../components/FastLED-idf/FastLED.h:263:113: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:321:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:313:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN, <declaration error> > static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:313:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:321:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:319:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN> static
CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:319:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:321:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:325:25: note: candidate: 'template<template<unsigned char DATA_PIN> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:325:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:321:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:375:25: note: candidate: 'template<template<<declaration error> > class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:375:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:321:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h: In static member function 'static CLEDController& CFastLED::addLeds(CRGB*, int, int)':
../components/FastLED-idf/FastLED.h:370:18: error: 'RGB_ORDER' was not declared in this scope
static CHIPSET<RGB_ORDER> c;
^~~~~~~~~
../components/FastLED-idf/FastLED.h:370:18: note: suggested alternative: 'BYTE_ORDER'
static CHIPSET<RGB_ORDER> c;
^~~~~~~~~
BYTE_ORDER
../components/FastLED-idf/FastLED.h:370:27: error: template argument 1 is invalid
static CHIPSET<RGB_ORDER> c;
^
../components/FastLED-idf/FastLED.h:371:56: error: no matching function for call to 'CFastLED::addLeds(int*, CRGB*&, int&, int&)'
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:213:25: note: candidate: 'static CLEDController& CFastLED::addLeds(CLEDController*, CRGB*, int, int)'
static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
^~~~~~~
../components/FastLED-idf/FastLED.h:213:25: note: no known conversion for argument 1 from 'int*' to 'CLEDController*'
../components/FastLED-idf/FastLED.h:235:130: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error>, unsigned int SPI_DATA_RATE> CLEDController& CFastLED::addLeds(CRGB*, int, int)'
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint32_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:235:130: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:371:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:249:95: note: candidate: '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) {
^~~~~~~
../components/FastLED-idf/FastLED.h:249:95: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:371:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:263:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error> > 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) {
^~~~~~~
../components/FastLED-idf/FastLED.h:263:113: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:371:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:313:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN, <declaration error> > static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:313:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:371:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:319:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN> static
CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:319:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:371:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:325:25: note: candidate: 'template<template<unsigned char DATA_PIN> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:325:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:371:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:375:25: note: candidate: 'template<template<<declaration error> > class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:375:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:371:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h: In static member function 'static CLEDController& CFastLED::addLeds(CRGB*, int, int)':
../components/FastLED-idf/FastLED.h:376:18: error: 'RGB' was not declared in this scope
static CHIPSET<RGB> c;
^~~
../components/FastLED-idf/FastLED.h:376:18: note: suggested alternative: 'CRGB'
static CHIPSET<RGB> c;
^~~
CRGB
../components/FastLED-idf/FastLED.h:376:21: error: template argument 1 is invalid
static CHIPSET<RGB> c;
^
../components/FastLED-idf/FastLED.h:377:56: error: no matching function for call to 'CFastLED::addLeds(int*, CRGB*&, int&, int&)'
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:213:25: note: candidate: 'static CLEDController& CFastLED::addLeds(CLEDController*, CRGB*, int, int)'
static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
^~~~~~~
../components/FastLED-idf/FastLED.h:213:25: note: no known conversion for argument 1 from 'int*' to 'CLEDController*'
../components/FastLED-idf/FastLED.h:235:130: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error>, unsigned int SPI_DATA_RATE> CLEDController& CFastLED::addLeds(CRGB*, int, int)'
template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint32_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:235:130: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:377:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:249:95: note: candidate: '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) {
^~~~~~~
../components/FastLED-idf/FastLED.h:249:95: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:377:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:263:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error> > 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) {
^~~~~~~
../components/FastLED-idf/FastLED.h:263:113: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:377:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:313:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN, <declaration error> > static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:313:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:377:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:319:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN> static
CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:319:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:377:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:325:25: note: candidate: 'template<template<unsigned char DATA_PIN> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:325:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:377:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
^
../components/FastLED-idf/FastLED.h:375:25: note: candidate: 'template<template<<declaration error> > class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:375:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:377:56: note: candidate expects 3 arguments, 4 provided
return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
I tried to replace the FastLed component on my project as well as copy my source file to your example project (that was compiling without any error before), but the errors move from one project to another one.
I am a little bit disappointed since FastLED works fine on Arduino.
I appreciate if you could indicate how to fix it, or to recommend another library to use with ESP-IDF.