I2SClocklessLedDriver icon indicating copy to clipboard operation
I2SClocklessLedDriver copied to clipboard

NUM_LEDS_PER_STRIP undefined in examples

Open silderan opened this issue 1 year ago • 0 comments

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?

silderan avatar Feb 24 '24 14:02 silderan