Skip to content

Instantly share code, notes, and snippets.

View CD77_meteor_shower.ino
/*
* Meteor Shower posted by Chemdoc77
* Based on the outstanding MeteorShower sketch by Jon Burroughs as seen in Adam bluebottleyellowboxyellyfish’s clock
* which Chemdoc77 slightly modified.
*/
#include <FastLED.h>
#define LED_PIN 6
@chemdoc77
chemdoc77 / CD77_new_product_test__Teensy4.ino
Last active May 27, 2020
FastLED and Teensy 4.0 Parallel Output Procedure
View CD77_new_product_test__Teensy4.ino
/* 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
@chemdoc77
chemdoc77 / CD77_basic_half_ring_animations.ino
Last active Dec 20, 2019
Basic FastLED Aminations for a ring and for half a ring by Chemdoc77
View CD77_basic_half_ring_animations.ino
// 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;
@chemdoc77
chemdoc77 / CD77_Fire2012WithPalette_for_two_halves_of_ring.ino
Last active Feb 4, 2020
Fire2012 With Palette for two halves of a ring by Chemdoc77
View CD77_Fire2012WithPalette_for_two_halves_of_ring.ino
//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.
*/
@chemdoc77
chemdoc77 / CD77_Palette_slow_fade_to_diff_colors.ino
Last active Apr 10, 2020
Using Palettes to slow fade to different colors
View CD77_Palette_slow_fade_to_diff_colors.ino
// 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
View CD77_CHSV_Color_Array_Example.ino
// CHSV Color Array Example by Chemdoc77
#include <FastLED.h>
#define LED_PIN 6
#define CHIPSET NEOPIXEL
#define NUM_LEDS 24
@chemdoc77
chemdoc77 / CD77_police_light_one_auto_color_change.ino
Last active Feb 4, 2019
The following sketch contains various functions based on the CD77_Police_Lights_One functions, from my original sketch in GitHub, CD77_police_lights. It includes automatic color change.
View CD77_police_light_one_auto_color_change.ino
/* 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:
@chemdoc77
chemdoc77 / CD77_police_light_one_Button_Color_Change.ino
Created Jan 30, 2019
The following sketch contains various functions based on the CD77_Police_Lights_One functions, from my original sketch in GitHub, CD77_police_lights. It includes color change by button.
View CD77_police_light_one_Button_Color_Change.ino
// Police_Lights_One with Button Color Control by Chemdoc77
// Includes new functions for various number of pixels that are on in a group and for forward and reverse directions along with the ability to change colors with a button.
// ******** Version 20190130 *************
/* This code is based on the police_lightsONE and police_lightsALL code:
in Funkboxing by Teldredge at:
http://funkboxing.com/wordpress/wp-content/_postfiles/sk_qLEDFX_POST.ino
@chemdoc77
chemdoc77 / CD77_Teensy_NeoPixel_IR_Control_Problem.ino
Last active Nov 29, 2018
Basic IR Remote with NeoPixels and Teensy 3.1 Test Sketch by Chemdoc77 Note: Problem occurs when first button push give garbage number and second button push works.
View CD77_Teensy_NeoPixel_IR_Control_Problem.ino
/*
Basic IR Remote with NeoPixels Test Sketch by Chemdoc77
Note: Problem occurs when first button push give garbage number and second button push works.
*/
#define FASTLED_ALLOW_INTERRUPTS 0
#include <FastLED.h>
#include <IRremote.h>
@chemdoc77
chemdoc77 / CD77_Basic_FastLED_Animations.ino
Created Oct 30, 2018
Some basic FastLED animations by Chemdoc77
View CD77_Basic_FastLED_Animations.ino
//Basic FastLED Aminations by Chemdoc77
#include <FastLED.h>
#define DATA_PIN 6
#define LED_TYPE NEOPIXEL
#define NUM_LEDS 24
CRGB leds[NUM_LEDS];
int brightness = 100;
You can’t perform that action at this time.