FastLed

stevepenrhiw
Posts: 2
Joined: Mon Jan 20, 2020 12:21 pm

FastLed

Postby stevepenrhiw » Mon Jan 20, 2020 12:30 pm

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

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: FastLed

Postby ESP_igrr » Mon Jan 20, 2020 5:38 pm

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

Postby stevepenrhiw » Mon Jan 20, 2020 8:18 pm

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

bbulkow
Posts: 20
Joined: Wed Jan 01, 2020 1:40 am

Re: FastLed

Postby bbulkow » Fri Feb 28, 2020 9:01 am

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.

User avatar
CamargoF
Posts: 7
Joined: Fri Mar 19, 2021 1:31 am
Location: Brazil

Re: FastLed

Postby CamargoF » Mon Mar 28, 2022 12:18 am

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:
  1. ../components/FastLED-idf/FastLED.h:270:62: error: 'RGB_ORDER' was not declared in this scope
  2.     case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  3.                                                               ^~~~~~~~~
  4. ../components/FastLED-idf/FastLED.h:270:62: note: suggested alternative: 'BYTE_ORDER'
  5.     case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  6.                                                               ^~~~~~~~~
  7.                                                               BYTE_ORDER
  8. ../components/FastLED-idf/FastLED.h:270:71: error: template argument 3 is invalid    
  9.     case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  10.                                                                        ^
  11. ../components/FastLED-idf/FastLED.h:270:129: error: no matching function for call to 'CFastLED::addLeds(int*, CRGB*&, int&, int&)'
  12.     case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  13.  
  14.                                            ^
  15. ../components/FastLED-idf/FastLED.h:213:25: note: candidate: 'static CLEDController& CFastLED::addLeds(CLEDController*, CRGB*, int, int)'
  16.   static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
  17.                          ^~~~~~~
  18. ../components/FastLED-idf/FastLED.h:213:25: note:   no known conversion for argument 1 from 'int*' to 'CLEDController*'
  19. ../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)'
  20.   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) {
  21.  
  22.                                             ^~~~~~~
  23. ../components/FastLED-idf/FastLED.h:235:130: note:   template argument deduction/substitution failed:
  24. ../components/FastLED-idf/FastLED.h:270:129: note:   candidate expects 3 arguments, 4
  25. provided
  26.     case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  27.  
  28.                                            ^
  29. ../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)'
  30.   template<ESPIChipsets CHIPSET,  uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {      
  31.  
  32.          ^~~~~~~
  33. ../components/FastLED-idf/FastLED.h:249:95: note:   template argument deduction/substitution failed:
  34. ../components/FastLED-idf/FastLED.h:270:129: note:   candidate expects 3 arguments, 4
  35. provided
  36.     case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  37.  
  38.                                            ^
  39. ../components/FastLED-idf/FastLED.h:263:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error> > static
  40. CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  41.   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) {
  42.  
  43.                            ^~~~~~~
  44. ../components/FastLED-idf/FastLED.h:263:113: note:   template argument deduction/substitution failed:
  45. ../components/FastLED-idf/FastLED.h:270:129: note:   candidate expects 3 arguments, 4
  46. provided
  47.     case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  48.  
  49.                                            ^
  50. ../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)'
  51.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  52.                          ^~~~~~~
  53. ../components/FastLED-idf/FastLED.h:313:25: note:   template argument deduction/substitution failed:
  54. ../components/FastLED-idf/FastLED.h:270:129: note:   candidate expects 3 arguments, 4
  55. provided
  56.     case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  57.  
  58.                                            ^
  59. ../components/FastLED-idf/FastLED.h:319:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN> static
  60. CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  61.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  62.                          ^~~~~~~
  63. ../components/FastLED-idf/FastLED.h:319:25: note:   template argument deduction/substitution failed:
  64. ../components/FastLED-idf/FastLED.h:270:129: note:   candidate expects 3 arguments, 4
  65. provided
  66.     case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  67.  
  68.                                            ^
  69. ../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)'
  70.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  71.                          ^~~~~~~
  72. ../components/FastLED-idf/FastLED.h:325:25: note:   template argument deduction/substitution failed:
  73. ../components/FastLED-idf/FastLED.h:270:129: note:   candidate expects 3 arguments, 4
  74. provided
  75.     case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  76.  
  77.                                            ^
  78. ../components/FastLED-idf/FastLED.h:375:25: note: candidate: 'template<template<<declaration error> > class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  79.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  80.                          ^~~~~~~
  81. ../components/FastLED-idf/FastLED.h:375:25: note:   template argument deduction/substitution failed:
  82. ../components/FastLED-idf/FastLED.h:270:129: note:   candidate expects 3 arguments, 4
  83. provided
  84.     case P9813: { static P9813Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  85.  
  86.                                            ^
  87. ../components/FastLED-idf/FastLED.h:272:64: error: 'RGB_ORDER' was not declared in this scope
  88.     case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  89.                                                                 ^~~~~~~~~
  90. ../components/FastLED-idf/FastLED.h:272:64: note: suggested alternative: 'BYTE_ORDER'
  91.     case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  92.                                                                 ^~~~~~~~~
  93.                                                                 BYTE_ORDER
  94. ../components/FastLED-idf/FastLED.h:272:73: error: template argument 3 is invalid    
  95.     case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  96.                                                                          ^
  97. ../components/FastLED-idf/FastLED.h:272:131: error: no matching function for call to 'CFastLED::addLeds(int*, CRGB*&, int&, int&)'
  98.     case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  99.  
  100.                                              ^
  101. ../components/FastLED-idf/FastLED.h:213:25: note: candidate: 'static CLEDController& CFastLED::addLeds(CLEDController*, CRGB*, int, int)'
  102.   static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
  103.                          ^~~~~~~
  104. ../components/FastLED-idf/FastLED.h:213:25: note:   no known conversion for argument 1 from 'int*' to 'CLEDController*'
  105. ../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)'
  106.   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) {
  107.  
  108.                                             ^~~~~~~
  109. ../components/FastLED-idf/FastLED.h:235:130: note:   template argument deduction/substitution failed:
  110. ../components/FastLED-idf/FastLED.h:272:131: note:   candidate expects 3 arguments, 4
  111. provided
  112.     case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  113.  
  114.                                              ^
  115. ../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)'
  116.   template<ESPIChipsets CHIPSET,  uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {      
  117.  
  118.          ^~~~~~~
  119. ../components/FastLED-idf/FastLED.h:249:95: note:   template argument deduction/substitution failed:
  120. ../components/FastLED-idf/FastLED.h:272:131: note:   candidate expects 3 arguments, 4
  121. provided
  122.     case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  123.  
  124.                                              ^
  125. ../components/FastLED-idf/FastLED.h:263:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error> > static
  126. CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  127.   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) {
  128.  
  129.                            ^~~~~~~
  130. ../components/FastLED-idf/FastLED.h:263:113: note:   template argument deduction/substitution failed:
  131. ../components/FastLED-idf/FastLED.h:272:131: note:   candidate expects 3 arguments, 4
  132. provided
  133.     case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  134.  
  135.                                              ^
  136. ../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)'
  137.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  138.                          ^~~~~~~
  139. ../components/FastLED-idf/FastLED.h:313:25: note:   template argument deduction/substitution failed:
  140. ../components/FastLED-idf/FastLED.h:272:131: note:   candidate expects 3 arguments, 4
  141. provided
  142.     case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  143.  
  144.                                              ^
  145. ../components/FastLED-idf/FastLED.h:319:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN> static
  146. CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  147.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  148.                          ^~~~~~~
  149. ../components/FastLED-idf/FastLED.h:319:25: note:   template argument deduction/substitution failed:
  150. ../components/FastLED-idf/FastLED.h:272:131: note:   candidate expects 3 arguments, 4
  151. provided
  152.     case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  153.  
  154.                                              ^
  155. ../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)'
  156.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  157.                          ^~~~~~~
  158. ../components/FastLED-idf/FastLED.h:325:25: note:   template argument deduction/substitution failed:
  159. ../components/FastLED-idf/FastLED.h:272:131: note:   candidate expects 3 arguments, 4
  160. provided
  161.     case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  162.  
  163.                                              ^
  164. ../components/FastLED-idf/FastLED.h:375:25: note: candidate: 'template<template<<declaration error> > class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  165.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  166.                          ^~~~~~~
  167. ../components/FastLED-idf/FastLED.h:375:25: note:   template argument deduction/substitution failed:
  168. ../components/FastLED-idf/FastLED.h:272:131: note:   candidate expects 3 arguments, 4
  169. provided
  170.     case APA102: { static APA102Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  171.  
  172.                                              ^
  173. ../components/FastLED-idf/FastLED.h:273:64: error: 'RGB_ORDER' was not declared in this scope
  174.     case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  175.                                                                 ^~~~~~~~~
  176. ../components/FastLED-idf/FastLED.h:273:64: note: suggested alternative: 'BYTE_ORDER'
  177.     case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  178.                                                                 ^~~~~~~~~
  179.                                                                 BYTE_ORDER
  180. ../components/FastLED-idf/FastLED.h:273:73: error: template argument 3 is invalid    
  181.     case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  182.                                                                          ^
  183. ../components/FastLED-idf/FastLED.h:273:131: error: no matching function for call to 'CFastLED::addLeds(int*, CRGB*&, int&, int&)'
  184.     case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  185.  
  186.                                              ^
  187. ../components/FastLED-idf/FastLED.h:213:25: note: candidate: 'static CLEDController& CFastLED::addLeds(CLEDController*, CRGB*, int, int)'
  188.   static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
  189.                          ^~~~~~~
  190. ../components/FastLED-idf/FastLED.h:213:25: note:   no known conversion for argument 1 from 'int*' to 'CLEDController*'
  191. ../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)'
  192.   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) {
  193.  
  194.                                             ^~~~~~~
  195. ../components/FastLED-idf/FastLED.h:235:130: note:   template argument deduction/substitution failed:
  196. ../components/FastLED-idf/FastLED.h:273:131: note:   candidate expects 3 arguments, 4
  197. provided
  198.     case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  199.  
  200.                                              ^
  201. ../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)'
  202.   template<ESPIChipsets CHIPSET,  uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {      
  203.  
  204.          ^~~~~~~
  205. ../components/FastLED-idf/FastLED.h:249:95: note:   template argument deduction/substitution failed:
  206. ../components/FastLED-idf/FastLED.h:273:131: note:   candidate expects 3 arguments, 4
  207. provided
  208.     case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  209.  
  210.                                              ^
  211. ../components/FastLED-idf/FastLED.h:263:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error> > static
  212. CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  213.   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) {
  214.  
  215.                            ^~~~~~~
  216. ../components/FastLED-idf/FastLED.h:263:113: note:   template argument deduction/substitution failed:
  217. ../components/FastLED-idf/FastLED.h:273:131: note:   candidate expects 3 arguments, 4
  218. provided
  219.     case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  220.  
  221.                                              ^
  222. ../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)'
  223.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  224.                          ^~~~~~~
  225. ../components/FastLED-idf/FastLED.h:313:25: note:   template argument deduction/substitution failed:
  226. ../components/FastLED-idf/FastLED.h:273:131: note:   candidate expects 3 arguments, 4
  227. provided
  228.     case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  229.  
  230.                                              ^
  231. ../components/FastLED-idf/FastLED.h:319:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN> static
  232. CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  233.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  234.                          ^~~~~~~
  235. ../components/FastLED-idf/FastLED.h:319:25: note:   template argument deduction/substitution failed:
  236. ../components/FastLED-idf/FastLED.h:273:131: note:   candidate expects 3 arguments, 4
  237. provided
  238.     case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  239.  
  240.                                              ^
  241. ../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)'
  242.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  243.                          ^~~~~~~
  244. ../components/FastLED-idf/FastLED.h:325:25: note:   template argument deduction/substitution failed:
  245. ../components/FastLED-idf/FastLED.h:273:131: note:   candidate expects 3 arguments, 4
  246. provided
  247.     case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  248.  
  249.                                              ^
  250. ../components/FastLED-idf/FastLED.h:375:25: note: candidate: 'template<template<<declaration error> > class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  251.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  252.                          ^~~~~~~
  253. ../components/FastLED-idf/FastLED.h:375:25: note:   template argument deduction/substitution failed:
  254. ../components/FastLED-idf/FastLED.h:273:131: note:   candidate expects 3 arguments, 4
  255. provided
  256.     case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
  257.  
  258.                                              ^
  259. ../components/FastLED-idf/FastLED.h: In static member function 'static CLEDController& CFastLED::addLeds(CRGB*, int, int)':
  260. ../components/FastLED-idf/FastLED.h:314:28: error: 'RGB_ORDER' was not declared in this scope
  261.    static CHIPSET<DATA_PIN, RGB_ORDER> c;
  262.                             ^~~~~~~~~
  263. ../components/FastLED-idf/FastLED.h:314:28: note: suggested alternative: 'BYTE_ORDER'
  264.    static CHIPSET<DATA_PIN, RGB_ORDER> c;
  265.                             ^~~~~~~~~
  266.                             BYTE_ORDER
  267. ../components/FastLED-idf/FastLED.h:314:37: error: template argument 2 is invalid    
  268.    static CHIPSET<DATA_PIN, RGB_ORDER> c;
  269.                                      ^
  270. ../components/FastLED-idf/FastLED.h:315:56: error: no matching function for call to 'CFastLED::addLeds(int*, CRGB*&, int&, int&)'
  271.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  272.                                                         ^
  273. ../components/FastLED-idf/FastLED.h:213:25: note: candidate: 'static CLEDController& CFastLED::addLeds(CLEDController*, CRGB*, int, int)'
  274.   static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
  275.                          ^~~~~~~
  276. ../components/FastLED-idf/FastLED.h:213:25: note:   no known conversion for argument 1 from 'int*' to 'CLEDController*'
  277. ../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)'
  278.   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) {
  279.  
  280.                                             ^~~~~~~
  281. ../components/FastLED-idf/FastLED.h:235:130: note:   template argument deduction/substitution failed:
  282. ../components/FastLED-idf/FastLED.h:315:56: note:   candidate expects 3 arguments, 4 provided
  283.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  284.                                                         ^
  285. ../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)'
  286.   template<ESPIChipsets CHIPSET,  uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {      
  287.  
  288.          ^~~~~~~
  289. ../components/FastLED-idf/FastLED.h:249:95: note:   template argument deduction/substitution failed:
  290. ../components/FastLED-idf/FastLED.h:315:56: note:   candidate expects 3 arguments, 4 provided
  291.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  292.                                                         ^
  293. ../components/FastLED-idf/FastLED.h:263:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error> > static
  294. CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  295.   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) {
  296.  
  297.                            ^~~~~~~
  298. ../components/FastLED-idf/FastLED.h:263:113: note:   template argument deduction/substitution failed:
  299. ../components/FastLED-idf/FastLED.h:315:56: note:   candidate expects 3 arguments, 4 provided
  300.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  301.                                                         ^
  302. ../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)'
  303.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  304.                          ^~~~~~~
  305. ../components/FastLED-idf/FastLED.h:313:25: note:   template argument deduction/substitution failed:
  306. ../components/FastLED-idf/FastLED.h:315:56: note:   candidate expects 3 arguments, 4 provided
  307.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  308.                                                         ^
  309. ../components/FastLED-idf/FastLED.h:319:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN> static
  310. CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  311.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  312.                          ^~~~~~~
  313. ../components/FastLED-idf/FastLED.h:319:25: note:   template argument deduction/substitution failed:
  314. ../components/FastLED-idf/FastLED.h:315:56: note:   candidate expects 3 arguments, 4 provided
  315.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  316.                                                         ^
  317. ../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)'
  318.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  319.                          ^~~~~~~
  320. ../components/FastLED-idf/FastLED.h:325:25: note:   template argument deduction/substitution failed:
  321. ../components/FastLED-idf/FastLED.h:315:56: note:   candidate expects 3 arguments, 4 provided
  322.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  323.                                                         ^
  324. ../components/FastLED-idf/FastLED.h:375:25: note: candidate: 'template<template<<declaration error> > class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  325.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  326.                          ^~~~~~~
  327. ../components/FastLED-idf/FastLED.h:375:25: note:   template argument deduction/substitution failed:
  328. ../components/FastLED-idf/FastLED.h:315:56: note:   candidate expects 3 arguments, 4 provided
  329.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  330.                                                         ^
  331. ../components/FastLED-idf/FastLED.h: In static member function 'static CLEDController& CFastLED::addLeds(CRGB*, int, int)':
  332. ../components/FastLED-idf/FastLED.h:320:28: error: 'RGB' was not declared in this scope
  333.    static CHIPSET<DATA_PIN, RGB> c;
  334.                             ^~~
  335. ../components/FastLED-idf/FastLED.h:320:28: note: suggested alternative: 'CRGB'      
  336.    static CHIPSET<DATA_PIN, RGB> c;
  337.                             ^~~
  338.                             CRGB
  339. ../components/FastLED-idf/FastLED.h:320:31: error: template argument 2 is invalid    
  340.    static CHIPSET<DATA_PIN, RGB> c;
  341.                                ^
  342. ../components/FastLED-idf/FastLED.h:321:56: error: no matching function for call to 'CFastLED::addLeds(int*, CRGB*&, int&, int&)'
  343.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  344.                                                         ^
  345. ../components/FastLED-idf/FastLED.h:213:25: note: candidate: 'static CLEDController& CFastLED::addLeds(CLEDController*, CRGB*, int, int)'
  346.   static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
  347.                          ^~~~~~~
  348. ../components/FastLED-idf/FastLED.h:213:25: note:   no known conversion for argument 1 from 'int*' to 'CLEDController*'
  349. ../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)'
  350.   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) {
  351.  
  352.                                             ^~~~~~~
  353. ../components/FastLED-idf/FastLED.h:235:130: note:   template argument deduction/substitution failed:
  354. ../components/FastLED-idf/FastLED.h:321:56: note:   candidate expects 3 arguments, 4 provided
  355.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  356.                                                         ^
  357. ../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)'
  358.   template<ESPIChipsets CHIPSET,  uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {      
  359.  
  360.          ^~~~~~~
  361. ../components/FastLED-idf/FastLED.h:249:95: note:   template argument deduction/substitution failed:
  362. ../components/FastLED-idf/FastLED.h:321:56: note:   candidate expects 3 arguments, 4 provided
  363.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  364.                                                         ^
  365. ../components/FastLED-idf/FastLED.h:263:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error> > static
  366. CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  367.   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) {
  368.  
  369.                            ^~~~~~~
  370. ../components/FastLED-idf/FastLED.h:263:113: note:   template argument deduction/substitution failed:
  371. ../components/FastLED-idf/FastLED.h:321:56: note:   candidate expects 3 arguments, 4 provided
  372.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  373.                                                         ^
  374. ../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)'
  375.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  376.                          ^~~~~~~
  377. ../components/FastLED-idf/FastLED.h:313:25: note:   template argument deduction/substitution failed:
  378. ../components/FastLED-idf/FastLED.h:321:56: note:   candidate expects 3 arguments, 4 provided
  379.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  380.                                                         ^
  381. ../components/FastLED-idf/FastLED.h:319:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN> static
  382. CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  383.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  384.                          ^~~~~~~
  385. ../components/FastLED-idf/FastLED.h:319:25: note:   template argument deduction/substitution failed:
  386. ../components/FastLED-idf/FastLED.h:321:56: note:   candidate expects 3 arguments, 4 provided
  387.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  388.                                                         ^
  389. ../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)'
  390.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  391.                          ^~~~~~~
  392. ../components/FastLED-idf/FastLED.h:325:25: note:   template argument deduction/substitution failed:
  393. ../components/FastLED-idf/FastLED.h:321:56: note:   candidate expects 3 arguments, 4 provided
  394.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  395.                                                         ^
  396. ../components/FastLED-idf/FastLED.h:375:25: note: candidate: 'template<template<<declaration error> > class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  397.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  398.                          ^~~~~~~
  399. ../components/FastLED-idf/FastLED.h:375:25: note:   template argument deduction/substitution failed:
  400. ../components/FastLED-idf/FastLED.h:321:56: note:   candidate expects 3 arguments, 4 provided
  401.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  402.                                                         ^
  403. ../components/FastLED-idf/FastLED.h: In static member function 'static CLEDController& CFastLED::addLeds(CRGB*, int, int)':
  404. ../components/FastLED-idf/FastLED.h:370:18: error: 'RGB_ORDER' was not declared in this scope
  405.    static CHIPSET<RGB_ORDER> c;
  406.                   ^~~~~~~~~
  407. ../components/FastLED-idf/FastLED.h:370:18: note: suggested alternative: 'BYTE_ORDER'
  408.    static CHIPSET<RGB_ORDER> c;
  409.                   ^~~~~~~~~
  410.                   BYTE_ORDER
  411. ../components/FastLED-idf/FastLED.h:370:27: error: template argument 1 is invalid    
  412.    static CHIPSET<RGB_ORDER> c;
  413.                            ^
  414. ../components/FastLED-idf/FastLED.h:371:56: error: no matching function for call to 'CFastLED::addLeds(int*, CRGB*&, int&, int&)'
  415.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  416.                                                         ^
  417. ../components/FastLED-idf/FastLED.h:213:25: note: candidate: 'static CLEDController& CFastLED::addLeds(CLEDController*, CRGB*, int, int)'
  418.   static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
  419.                          ^~~~~~~
  420. ../components/FastLED-idf/FastLED.h:213:25: note:   no known conversion for argument 1 from 'int*' to 'CLEDController*'
  421. ../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)'
  422.   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) {
  423.  
  424.                                             ^~~~~~~
  425. ../components/FastLED-idf/FastLED.h:235:130: note:   template argument deduction/substitution failed:
  426. ../components/FastLED-idf/FastLED.h:371:56: note:   candidate expects 3 arguments, 4 provided
  427.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  428.                                                         ^
  429. ../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)'
  430.   template<ESPIChipsets CHIPSET,  uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {      
  431.  
  432.          ^~~~~~~
  433. ../components/FastLED-idf/FastLED.h:249:95: note:   template argument deduction/substitution failed:
  434. ../components/FastLED-idf/FastLED.h:371:56: note:   candidate expects 3 arguments, 4 provided
  435.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  436.                                                         ^
  437. ../components/FastLED-idf/FastLED.h:263:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error> > static
  438. CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  439.   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) {
  440.  
  441.                            ^~~~~~~
  442. ../components/FastLED-idf/FastLED.h:263:113: note:   template argument deduction/substitution failed:
  443. ../components/FastLED-idf/FastLED.h:371:56: note:   candidate expects 3 arguments, 4 provided
  444.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  445.                                                         ^
  446. ../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)'
  447.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  448.                          ^~~~~~~
  449. ../components/FastLED-idf/FastLED.h:313:25: note:   template argument deduction/substitution failed:
  450. ../components/FastLED-idf/FastLED.h:371:56: note:   candidate expects 3 arguments, 4 provided
  451.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  452.                                                         ^
  453. ../components/FastLED-idf/FastLED.h:319:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN> static
  454. CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  455.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  456.                          ^~~~~~~
  457. ../components/FastLED-idf/FastLED.h:319:25: note:   template argument deduction/substitution failed:
  458. ../components/FastLED-idf/FastLED.h:371:56: note:   candidate expects 3 arguments, 4 provided
  459.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  460.                                                         ^
  461. ../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)'
  462.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  463.                          ^~~~~~~
  464. ../components/FastLED-idf/FastLED.h:325:25: note:   template argument deduction/substitution failed:
  465. ../components/FastLED-idf/FastLED.h:371:56: note:   candidate expects 3 arguments, 4 provided
  466.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  467.                                                         ^
  468. ../components/FastLED-idf/FastLED.h:375:25: note: candidate: 'template<template<<declaration error> > class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  469.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  470.                          ^~~~~~~
  471. ../components/FastLED-idf/FastLED.h:375:25: note:   template argument deduction/substitution failed:
  472. ../components/FastLED-idf/FastLED.h:371:56: note:   candidate expects 3 arguments, 4 provided
  473.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  474.                                                         ^
  475. ../components/FastLED-idf/FastLED.h: In static member function 'static CLEDController& CFastLED::addLeds(CRGB*, int, int)':
  476. ../components/FastLED-idf/FastLED.h:376:18: error: 'RGB' was not declared in this scope
  477.    static CHIPSET<RGB> c;
  478.                   ^~~
  479. ../components/FastLED-idf/FastLED.h:376:18: note: suggested alternative: 'CRGB'      
  480.    static CHIPSET<RGB> c;
  481.                   ^~~
  482.                   CRGB
  483. ../components/FastLED-idf/FastLED.h:376:21: error: template argument 1 is invalid    
  484.    static CHIPSET<RGB> c;
  485.                      ^
  486. ../components/FastLED-idf/FastLED.h:377:56: error: no matching function for call to 'CFastLED::addLeds(int*, CRGB*&, int&, int&)'
  487.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  488.                                                         ^
  489. ../components/FastLED-idf/FastLED.h:213:25: note: candidate: 'static CLEDController& CFastLED::addLeds(CLEDController*, CRGB*, int, int)'
  490.   static CLEDController &addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0);
  491.                          ^~~~~~~
  492. ../components/FastLED-idf/FastLED.h:213:25: note:   no known conversion for argument 1 from 'int*' to 'CLEDController*'
  493. ../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)'
  494.   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) {
  495.  
  496.                                             ^~~~~~~
  497. ../components/FastLED-idf/FastLED.h:235:130: note:   template argument deduction/substitution failed:
  498. ../components/FastLED-idf/FastLED.h:377:56: note:   candidate expects 3 arguments, 4 provided
  499.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  500.                                                         ^
  501. ../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)'
  502.   template<ESPIChipsets CHIPSET,  uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {      
  503.  
  504.          ^~~~~~~
  505. ../components/FastLED-idf/FastLED.h:249:95: note:   template argument deduction/substitution failed:
  506. ../components/FastLED-idf/FastLED.h:377:56: note:   candidate expects 3 arguments, 4 provided
  507.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  508.                                                         ^
  509. ../components/FastLED-idf/FastLED.h:263:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, <declaration error> > static
  510. CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  511.   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) {
  512.  
  513.                            ^~~~~~~
  514. ../components/FastLED-idf/FastLED.h:263:113: note:   template argument deduction/substitution failed:
  515. ../components/FastLED-idf/FastLED.h:377:56: note:   candidate expects 3 arguments, 4 provided
  516.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  517.                                                         ^
  518. ../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)'
  519.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  520.                          ^~~~~~~
  521. ../components/FastLED-idf/FastLED.h:313:25: note:   template argument deduction/substitution failed:
  522. ../components/FastLED-idf/FastLED.h:377:56: note:   candidate expects 3 arguments, 4 provided
  523.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  524.                                                         ^
  525. ../components/FastLED-idf/FastLED.h:319:25: note: candidate: 'template<template<unsigned char DATA_PIN, <declaration error> > class CHIPSET, unsigned char DATA_PIN> static
  526. CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  527.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  528.                          ^~~~~~~
  529. ../components/FastLED-idf/FastLED.h:319:25: note:   template argument deduction/substitution failed:
  530. ../components/FastLED-idf/FastLED.h:377:56: note:   candidate expects 3 arguments, 4 provided
  531.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  532.                                                         ^
  533. ../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)'
  534.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  535.                          ^~~~~~~
  536. ../components/FastLED-idf/FastLED.h:325:25: note:   template argument deduction/substitution failed:
  537. ../components/FastLED-idf/FastLED.h:377:56: note:   candidate expects 3 arguments, 4 provided
  538.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
  539.                                                         ^
  540. ../components/FastLED-idf/FastLED.h:375:25: note: candidate: 'template<template<<declaration error> > class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
  541.   static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  542.                          ^~~~~~~
  543. ../components/FastLED-idf/FastLED.h:375:25: note:   template argument deduction/substitution failed:
  544. ../components/FastLED-idf/FastLED.h:377:56: note:   candidate expects 3 arguments, 4 provided
  545.    return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
The calls I used to do on my code are:
  1. FastLED.setBrightness(fitaledGetBrightnessPainel());
  2. FastLED.setCorrection(TypicalLEDStrip);
  3. FastLED.addLeds<WS2812B, FITA_LED0_PINO_DADO, RGB>(fitaPixels, fitaSize);
  4. FastLED.show();
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
Best regards,

CamargoF

Who is online

Users browsing this forum: No registered users and 94 guests