Allow NUM_TLCS to be specified with compile flags

This commit is contained in:
Adam Phelps 2016-08-23 09:13:19 -07:00
parent fc38a581b2
commit 93235a0b7f

View File

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