Merge pull request #5 from aphelps/numtlcs

Allow NUM_TLCS to be specified with compile flags
This commit is contained in:
Paul Stoffregen
2021-11-16 12:23:04 -08:00
committed by GitHub

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.