Skip to content

Instantly share code, notes, and snippets.

//New Product Test Sketch by Chemdoc77
//used to test new RGB LED strips and Matrix that I purchase.
// 6/22/19 - updated to allow more than 255 LEDS.
#include <FastLED.h>
#define DATA_PIN 6
#define LED_TYPE NEOPIXEL
#define NUM_LEDS 8
// Testing FastLED's CRGBSet array with a fill the whole array function and with a colorwipe function
// by Chemdoc77
#include "FastLED.h"
#define NUM_LEDS 24
#define Data_Pin 6
#define chipset NEOPIXEL
#define BRIGHTNESS 50
@chemdoc77
chemdoc77 / CD77_FastLED_millis_replaces_delay.ino
Last active March 13, 2022 23:33
CD77_FastLED_millis_replaces_delay - Replaces delays with FastLED EVERY_N_MILLIS function
/* EVERY_N_MILLIS_I used to replace delay by Chemdoc77
Updated 20220313- replaced EVERY_N_MILLIS with EVERY_N_MILLIS_I
Note: When using the N_Millis FastLED function in a void funcition, you must use
EVERY_N_MILLIS_I and NOT EVERY_N_MILLIS.
*/
#include "FastLED.h"
#define NUM_LEDS 24
#define DATA_PIN 6
#define LED_TYPE NEOPIXEL
@chemdoc77
chemdoc77 / Faux_TV_Kriegsman_DotStar.ino
Last active March 26, 2017 14:02
Faux TV for DotStar Matrix
//Faux TV by Mark Kriegsman
//http://pastebin.com/RQCPVyXf
//https://plus.google.com/112916219338292742137/posts/Xg76A57iXV6
//Changed to APA102, i.e. DotStar by Chemdoc77
#include <FastLED.h>
#define LED_PIN 3
#define CLOCK_PIN 4
@chemdoc77
chemdoc77 / CRGBSet_Example_2_with_solidfill_and_rainbowfill
Created January 25, 2017 04:19
Testing FastLED's CRGBSet array function and using it with the fill_solid and fill_rainbow functions.
// Testing FastLED's CRGBSet array function and using it with the fill_solid and fill_rainbow functions.
// by Chemdoc77
#include "FastLED.h"
#define NUM_LEDS 24
#define Data_Pin 6
#define chipset NEOPIXEL
#define BRIGHTNESS 50
@chemdoc77
chemdoc77 / CRGBSet_Example_1
Created January 25, 2017 04:03
Testing FastLED's CRGBSet array function and using it in an array of CRGBSET arrays
// Testing the CRGBSet array function and using it in an array of CRGBSET arrays
//by Chemdoc77
#include "FastLED.h"
#define NUM_LEDS 24
#define Data_Pin 6
#define chipset NEOPIXEL
#define BRIGHTNESS 50
CRGB rawleds[NUM_LEDS];
//Fire2012WithPalette
// by Mark Kriegsman of FastLED Mark Kriegsman
//modified by Chemdoc77 to work equally on each half of a ring
// Note: for this sketch - pixel 0 of the ring is the top pixel on the ring
#include <FastLED.h>
#define LED_PIN 6
#define COLOR_ORDER GRB