Permalink
Browse files

Suggest to `#define FASTLED_RMT_BUILTIN_DRIVER 1` (#654)

The documentation for FASTLED_RMT_BUILTIN_DRIVER says that you should

    #define FASTLED_RMT_BUILTIN_DRIVER

before `#include`ing FastLED if you have custom RMT applications running.
Without any non-zero value, this results in the following compile error:

    /path/to/Arduino/libraries/FastLED/platforms/esp/32/clockless_esp32.h: In member function 'void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::initRMT()':
    /path/to/Arduino/libraries/FastLED/platforms/esp/32/clockless_esp32.h:253:43: error: expected primary-expression before ')' token
             if (FASTLED_RMT_BUILTIN_DRIVER) {
                                           ^
  • Loading branch information...
johannesmaibaum authored and focalintent committed Sep 20, 2018
1 parent d27bac9 commit 1463ed50f5124607f38c30da316d2ff33d7109d3
Showing with 1 addition and 1 deletion.
  1. +1 −1 platforms/esp/32/clockless_esp32.h
@@ -49,7 +49,7 @@
* co-exist. To switch to this mode, add the following directive
* before you include FastLED.h:
*
* #define FASTLED_RMT_BUILTIN_DRIVER
* #define FASTLED_RMT_BUILTIN_DRIVER 1
*
* There may be a performance penalty for using this mode. We need to
* compute the RMT signal for the entire LED strip ahead of time,

0 comments on commit 1463ed5

Please sign in to comment.