Skip to content

Instantly share code, notes, and snippets.

//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
@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];
@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 / 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 / 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
// 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
//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
/*****************************************************************************
This sketch is based on the following sketch from Adafruit but has been adapted to FastLED by Chemdoc77:
https://learn.adafruit.com/random-spooky-led-eyes/assembly?view=all
Random Eyes sketch for WS2801 pixels
W. Earl 10/16/11
For Adafruit Industries
Creates randomized pairs of WS2801 led pixels that look like eyes peering
@chemdoc77
chemdoc77 / CD77_fastled__sinelon_oneway.ino
Last active January 10, 2018 22:27
FastLED Sinelon_oneway - creates a dot that goes only forward with a tail.
// FastLED Sinelon_oneway by Chemdoc77
// Based on the DemoReel100 example of the FastLED library.
// a dot that goes only forward with a tail.
#include "FastLED.h"
#define NUM_LEDS 100
#define chipset NEOPIXEL
#define Data_pin 6
#define BRIGHTEST 40 // the BRIGHTEST range is from 0 to 255.
@chemdoc77
chemdoc77 / CD77_Special_Request_Red_White_and_Blue_using_CRGBSet.ino
Last active August 27, 2019 18:03
Special Request to fill NeoPixel strip with one third red, one third white and one third blue.
// special request - fill NeoPixel strip with one third red, one third white and one third blue.
// by Chemdoc77
//This was run on a Teensy 3.6 using the Arduino 1.8.3 and the Teensyduino 1.37
#include "FastLED.h"
#define NUM_LEDS 240
#define Data_Pin 6
#define chipset NEOPIXEL