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 /examples | |
parent | 1fab66b74e275bcd407bd2eafecd453df1ba0bc5 (diff) |
Add 16-way parallel output for teensy 3/3.1. Update example to show off. Bump version number.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino b/examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino index d1f7fc4a..d646cdec 100644 --- a/examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino +++ b/examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino @@ -2,13 +2,14 @@ #define NUM_LEDS_PER_STRIP 64 // Note: this can be 12 if you're using a teensy 3 and don't mind soldering the pads on the back -#define NUM_STRIPS 8 +#define NUM_STRIPS 16 CRGB leds[NUM_STRIPS * NUM_LEDS_PER_STRIP]; // Pin layouts on the teensy 3/3.1: // WS2811_PORTD: 2,14,7,8,6,20,21,5 // WS2811_PORTC: 15,22,23,9,10,13,11,12,28,27,29,30 (these last 4 are pads on the bottom of the teensy) +// WS2811_PORTDC: 2,14,7,8,6,20,21,5,15,22,23,9,10,13,11,12 - 16 way parallel // // Pin layouts on the due // WS2811_PORTA: 69,68,61,60,59,100,58,31 (note: pin 100 only available on the digix) @@ -19,9 +20,8 @@ CRGB leds[NUM_STRIPS * NUM_LEDS_PER_STRIP]; void setup() { // LEDS.addLeds<WS2811_PORTA,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP); // LEDS.addLeds<WS2811_PORTB,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP); - LEDS.addLeds<WS2811_PORTC,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP); // LEDS.addLeds<WS2811_PORTD,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP).setCorrection(TypicalLEDStrip); - + LEDS.addLeds<WS2811_PORTDC,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP); LEDS.setBrightness(32); } |