I2SClocklessLedDriver
I2SClocklessLedDriver copied to clipboard
NUM_LEDS_PER_STRIP undefined in examples
Hello. Indeed, this proyects are fun, as you said in readme ;) Or not fun, but a rewarding experience indeed.
Just trying demos but compiler fails because NUM_LEDS_PER_STRIP is not defined.
In the .ino files, this is defined after including I2SClocklessLedDriver.h. Just moving before including header, it compiles (didn't try to run it yet) Also, looking into code, it's only used in the __delay macro (there is other place used, but it's a debug print and commented out) But elsewhere a run-time variable called num_led_per_strip is used (sometimes a class variable or local function variable)
Is this a intermediate non functional version or am I missing something?