Skip to content

Instantly share code, notes, and snippets.

Avatar
🎸
Working on sound reactive WLED

Andrew Tuline atuline

🎸
Working on sound reactive WLED
View GitHub Profile
@atuline
atuline / ripples.ino
Last active Feb 10, 2019
Ripples for FastLED
View ripples.ino
/*
* Ripples
*
* Originally by: Reko Meriö
*
* Highly modified by: Andrew Tuline
*
* Date: February, 2019
*
* Another ripple routine, that now supports simultaneous ripples via a structure.
View rainbow_center
/* rainbow_center
By: Andrew Tuline
Date: Jan, 2018
Description
Rainbow marching from the center to the ends of the strand using the fill_rainbow routine.
@atuline
atuline / sinelon_pixels
Created Jan 25, 2019
Sinelon with multiple list pixels
View sinelon_pixels
/* sinelon_pixels
*
* Moves multiple pixels back and forth using waves of one form or another.
*
*
* By: Mark Kriegsman
*
* Modified by: Andrew Tuline
*
* Date: January 2018
View palette_basic
/* palette_basic
*
* By: Andrew Tuline
*
* Date: October, 2018
*
* Basic Palette Usage
*
*/
View gist:6af4a3e10b5b1c9ac7d5760bf4942f92
/* fill_grad
*
* By: Andrew Tuline
*
* Date: August, 2015
*
* Here's a simple method to blend between a couple of colours across a strand of LED's.
*
* It uses FastLED's:
*
View fill_gradient
// Just a snippet from FastLED. This is not a complete program.
//FORWARD_HUES, BACKWARD_HUES, SHORTEST_HUES, LONGEST_HUES
fill_gradient(leds, startpos, CHSV(50, 255,255) , endpos, CHSV(150,255,255), SHORTEST_HUES);
fill_gradient(leds, NUM_LEDS, CHSV(50, 255,255), CHSV(100,255,255), LONGEST_HUES);
@atuline
atuline / fillpal.ino
Last active Oct 22, 2018
A fill color along with single colours
View fillpal.ino
// https://plus.google.com/u/0/107012178390358476390/posts/DYRrA1iH5j5?cfem=1
#include <FastLED.h>
#define LED_PIN 12
#define CLK_PIN 11
#define NUM_LEDS 60
#define BRIGHTNESS 150
#define LED_TYPE APA102
View inoise8_car
/* inoise8_car
*
* By: Andrew Tuline
*
* Date: July, 2018
*
* A simple 8 bit routine that moves along a NOISE plane.
*
* This uses a fixed palette.
*
View simplemover.ino
/* simplemover
*
* By: A simple routine to move every 4th LED up the strip and fade behind.
*
* No delay statements were harmed in the creation of this routine.
*
* By: Andrew Tuline
*
* Date: June 11, 2018
*
View mycircle.ino
/* mycircle
*
* By: Andrew Tuline
*
* Date: May, 2018
*
* Connect your LED's end to end and this routine goes round and round.
*
* There are 2 methods for timing:
*