mirror of
https://github.com/PaulStoffregen/Tlc5940
synced 2025-06-26 18:07:46 +02:00
Merge pull request #5 from aphelps/numtlcs
Allow NUM_TLCS to be specified with compile flags
This commit is contained in:
commit
597222e69d
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user