diff --git a/tlc_config.h b/tlc_config.h index a7382c6..2db99c6 100644 --- a/tlc_config.h +++ b/tlc_config.h @@ -52,7 +52,9 @@ of the first TLC to the SIN (TLC pin 26) of the next. The rest of the pins are attached normally. \note Each TLC needs it's own IREF resistor */ +#ifndef NUM_TLCS #define NUM_TLCS 1 +#endif /** Determines how data should be transfered to the TLCs. Bit-banging can use any two i/o pins, but the hardware SPI is faster.