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
/* CD77_police_light_one_auto_color_change by Chemdoc77 | |
Includes new functions for various number of pixels that are on in a group and for forward and reverse directions. | |
Includes automatic color change with seconds input. See line 42 for this variable. | |
******** Version 20190203 ************* | |
This code is based on the police_lightsONE and police_lightsALL code: | |
in Funkboxing by Teldredge at: |
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
// 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 |
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
// Basic FastLED Aminations for a ring and for half a ring by Chemdoc77 | |
// This will work on a strip, too. | |
#include <FastLED.h> | |
#define DATA_PIN 6 | |
#define LED_TYPE NEOPIXEL | |
#define NUM_LEDS 24 | |
CRGB leds[NUM_LEDS]; | |
int brightness = 30; |
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
//Fire2012 with Palette for two halves of a ring or strip by Chemdoc77 | |
// Modified version of Fire2012withPalette by Mark Kriegsman at: | |
// https://github.com/FastLED/FastLED/blob/master/examples/Fire2012WithPalette/Fire2012WithPalette.ino | |
/* ===== Note ========== | |
Change line 83 to pick color of the flame | |
Change lines 129 and 134 to adjust the flame. | |
*/ |
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
/* This sketch by Chemdoc77 is a special request for changing colors after a long period of time. | |
It is based on Mark Kriegsman's PaletteCrossfade.ino and his PerformanceTime code at; | |
https://gist.github.com/kriegsman/1f7ccbbfa492a73c015e | |
and | |
https://gist.github.com/kriegsman/a916be18d32ec675fea8 | |
*/ | |
#include <FastLED.h> | |
#define LED_PIN 6 |
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
/* New Product Test Sketch by Chemdoc77 | |
used to test new RGB LED strips and Matrix that I purchase. | |
Note: Uses FastLED's Parallel Output procedure to work with a Teensy 4.0 | |
*/ | |
#include <FastLED.h> | |
#define DATA_PIN 7 // it is critical that you use this pin number or other pin numbers using FastLED's Parallel Output procedure |
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
// This sketch by Chemdoc77 is based on Mark Kriegsman's PaletteCrossfade.ino | |
// It uses palettes to slow fade to different colors. | |
// at: https://gist.github.com/kriegsman/1f7ccbbfa492a73c015e | |
#include <FastLED.h> | |
#define LED_PIN 6 | |
#define NUM_LEDS 24 |
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
/* 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 |
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
// Step Project Array Code Example | |
// by Chemdoc77 | |
#include "FastLED.h" | |
#define NUM_LEDS 390 | |
#define Data_Pin 6 | |
#define chipset NEOPIXEL | |
#define BRIGHTNESS 50 | |
// CRGBSET Stuff |