Armin_Mere
(Armin Mere)
February 3, 2018, 2:17pm
1
Hi!
For the past 2 days I have been trying to make it so that two streaks/line would be going from the midle of my WS2812B led strip to the ends of it . I’m pretty new to arduino but I still know something. Maybe someone coud help me?
marmil
(Marc Miller)
February 4, 2018, 2:38am
2
Here’s an example that mirrored a pattern from the center out that might give you some ideas how to do your idea.
//***************************************************************
// Example of running FastLED's Fire2012 example mirrored on
// both halves of a strip.
//
// gReverseDirection sets if the fire goes from center out or
// from the ends inward.
//
// The fire is first drawn into a temporary array (leds_temp) that
// is half the length of the strip. Then the data is copied from
// leds_temp and mirrored to leds before running FastLED.show()
//
// Marc Miller, Jan 2018
//***************************************************************
#include "FastLED.h"
#define DATA_PIN 11
#define CLK_PIN 13
#define LED_TYPE LPD8806
#define COLOR_ORDER GRB
#define NUM_LEDS 32 // Total number of pixels in strip
This file has been truncated. show original
Armin_Mere
(Armin Mere)
February 4, 2018, 8:40am
3
Thank you very much!
That was a lot of help!