From 93235a0b7f1227f4109fdf6730f854cf7930ab2d Mon Sep 17 00:00:00 2001 From: Adam Phelps Date: Tue, 23 Aug 2016 09:13:19 -0700 Subject: [PATCH] Allow NUM_TLCS to be specified with compile flags --- tlc_config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tlc_config.h b/tlc_config.h index 9a81d1e..297fb35 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.