This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Designed to drive an array of 8 strips of 25 WS2812b RGB LEDs with different display functions | |
0) Off No settings / no brightness control | |
1) Real fire No settings - potentiometer #2 immediately defaults to brightness control | |
2) Color Fire Setttings = goes through the rainbow hues to select the basic flame color | |
3) Rainbow Fire No settings - potentiometer #2 immediately defaults to brightness control | |
4) Barberpole No settings - potentiometer #2 immediately defaults to brightness control | |
5) Rainbow barberpole Setttings = goes through the rainbow hues to select the basic color | |
6) Rainbow No settings - potentiometer #2 immediately defaults to brightness control | |
7) Vertical rainbow No settings - potentiometer #2 immediately defaults to brightness control | |
8) Horizonatl Rainbow No settings - potentiometer #2 immediately defaults to brightness con |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define USE_OCTOWS2811 | |
#include<OctoWS2811.h> | |
#include <FastLED.h> | |
#include <Math.h> | |
#define CUBE_SIZE 8 | |
#define NUM_LEDS 513 // One extra LED added to take care of invalid LED addresses !! | |
#define LEDS_PER_PIN 64 // Only used within setup to define the physical aspect of the led array | |
CRGB leds[NUM_LEDS]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "FastLED.h" | |
// Originaly designed for a 16x16 matrix by Mark Kriegsman, July 2013 | |
// Updated for a 16 strip X 25 WS2812b LED array with each strip driven by a separate pin | |
// Modified to have multiple shell launch and did some code clean-up wehe possible. | |
#define PIXEL_WIDTH 16 | |
#define PIXEL_HEIGHT 25 | |
CRGB leds[PIXEL_WIDTH][PIXEL_HEIGHT]; |