diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2014-10-28 06:40:43 +0300 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2014-10-28 06:40:43 +0300 |
commit | 2395bee77eee47af7984850ce5368f4b7a087da7 (patch) | |
tree | cd93ba249b4e2f46e8aa69c5a337604c53652c52 /examples | |
parent | 80e230af802215a6a5afcf37755edd6556ee3c5f (diff) |
Add note about 12-way output for Teensy3 PORTC
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino b/examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino index d575c9c6..d1f7fc4a 100644 --- a/examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino +++ b/examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino @@ -1,13 +1,14 @@ #include<FastLED.h> #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 CRGB leds[NUM_STRIPS * NUM_LEDS_PER_STRIP]; -// Pin layouts on the teensy 3: +// 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 +// 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) // // Pin layouts on the due // WS2811_PORTA: 69,68,61,60,59,100,58,31 (note: pin 100 only available on the digix) @@ -18,8 +19,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); + 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.setBrightness(32); } |