diff options
author | danielgarcia@gmail.com <danielgarcia@gmail.com@4ad4ec5c-605d-bd5c-5796-512c9b60011b> | 2013-11-02 00:17:10 +0400 |
---|---|---|
committer | danielgarcia@gmail.com <danielgarcia@gmail.com@4ad4ec5c-605d-bd5c-5796-512c9b60011b> | 2013-11-02 00:17:10 +0400 |
commit | 0c6c636508b66971e8d1d76629eaa1e0dff4ae59 (patch) | |
tree | 7bb36ffc1206ba00d468998354112e1e4d090509 /examples/FirstLight | |
parent | cab69017c0587d223bece1027779152b6e2c1511 (diff) |
Add ATTiny pin definitions
Diffstat (limited to 'examples/FirstLight')
-rw-r--r-- | examples/FirstLight/FirstLight.ino | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/FirstLight/FirstLight.ino b/examples/FirstLight/FirstLight.ino index ffcc09b9..eb9a3c8f 100644 --- a/examples/FirstLight/FirstLight.ino +++ b/examples/FirstLight/FirstLight.ino @@ -1,3 +1,5 @@ +#define FORCE_SOFTWARE_SPI +#define FORCE_SOFTWARE_PINS #include "FastSPI_LED2.h" /////////////////////////////////////////////////////////////////////////////////////////// @@ -27,7 +29,7 @@ void setup() { // FastLED.addLeds<TM1803, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<TM1804, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS); - FastSPI_LED2.addLeds<WS2811, DATA_PIN, GRB>(leds+18, NUM_LEDS/3); + // FastSPI_LED2.addLeds<WS2811, DATA_PIN, GRB>(leds+18, NUM_LEDS/3); // FastLED.addLeds<WS2811, 8, RGB>(leds + 225, NUM_LEDS/4); // FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS); @@ -37,7 +39,7 @@ void setup() { // FastLED.addLeds<WS2801, RGB>(leds, NUM_LEDS); // FastLED.addLeds<SM16716, RGB>(leds, NUM_LEDS); - // FastLED.addLeds<LPD8806, RGB>(leds, NUM_LEDS); + FastLED.addLeds<LPD8806, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<SM16716, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); |