Hi
I'm trying to get the FastLed library working on an ESP-devkitC. My understanding is that FastLed has been ported to the esp32, but no work has been done maintaining it for a couple of years.
The library source uses a header file "esp32-hal.h", which I believe is part of esp-idf but I cannot find. Has this file been replaced by another file.
Steve
FastLed
Re: FastLed
Hi Steve, the file you mention is part of esp32-arduino package. It is not included in ESP-IDF. You can try using Arduino as ESP-IDF component: https://github.com/espressif/arduino-es ... mponent.md
-
stevepenrhiw
- Posts: 2
- Joined: Mon Jan 20, 2020 12:21 pm
Re: FastLed
Hi
That's just the job. I'm making progress again. It also answers a couple other questions I had about the FastLED library.
Thanks for the fast response.
Steve
That's just the job. I'm making progress again. It also answers a couple other questions I had about the FastLED library.
Thanks for the fast response.
Steve
Re: FastLed
I have just ported the FastLED 3.3.4 code as a component that works with ESP-IDF 4.0.
The repository is here: https://github.com/bbulkow/FastLED-idf . If you like it, star it, thanks. Pull requests accepted as well.
There are copious notes in the README, and I'll continue improving it --- but seems to be working nicely here, so enjoy.
The repository is here: https://github.com/bbulkow/FastLED-idf . If you like it, star it, thanks. Pull requests accepted as well.
There are copious notes in the README, and I'll continue improving it --- but seems to be working nicely here, so enjoy.
Re: FastLed
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:
The calls I used to do on my code are:
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.
Best regards,
FC
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);Code: Untitled.c Select all
FastLED.setBrightness(fitaledGetBrightnessPainel());
FastLED.setCorrection(TypicalLEDStrip);
FastLED.addLeds<WS2812B, FITA_LED0_PINO_DADO, RGB>(fitaPixels, fitaSize);
FastLED.show();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.
Best regards,
FC
Best regards,
CamargoF
CamargoF
Who is online
Users browsing this forum: Baidu [Spider] and 3 guests