diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2014-10-28 08:12:02 +0300 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2014-10-28 08:12:02 +0300 |
commit | 68d21f67189f3abed2a2c6d765f501869ec46b2b (patch) | |
tree | 19867a0978617004c3ec3bcf04cab38a5acb339a /FastLED.h | |
parent | 1fab66b74e275bcd407bd2eafecd453df1ba0bc5 (diff) |
Add 16-way parallel output for teensy 3/3.1. Update example to show off. Bump version number.
Diffstat (limited to 'FastLED.h')
-rw-r--r-- | FastLED.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -7,8 +7,8 @@ #define xstr(s) str(s) #define str(s) #s -#define FASTLED_VERSION 3000000 -#warning FastLED version 3000000 (Not really a warning, just telling you here.) +#define FASTLED_VERSION 3001000 +#warning FastLED version 3001000 (Not really a warning, just telling you here.) #define __PROG_TYPES_COMPAT__ @@ -92,6 +92,9 @@ enum EBlockChipsets { #ifdef PORTD_FIRST_PIN WS2811_PORTD, #endif +#ifdef HAS_PORTDC + WS2811_PORTDC, +#endif }; #if defined(LIB8_ATTINY) @@ -240,7 +243,11 @@ static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIf #ifdef PORTD_FIRST_PIN case WS2811_PORTD: return addLeds(new InlineBlockClocklessController<NUM_LANES, PORTD_FIRST_PIN, NS(250), NS(510), NS(490), RGB_ORDER>(), data, nLedsOrOffset, nLedsIfOffset); #endif +#ifdef HAS_PORTDC + case WS2811_PORTDC: return addLeds(new SixteenWayInlineBlockClocklessController<16,NS(250), NS(510), NS(490), RGB_ORDER>(), data, nLedsOrOffset, nLedsIfOffset); +#endif } + } template<EBlockChipsets CHIPSET, int NUM_LANES> |