Skip to content

Instantly share code, notes, and snippets.

View atuline's full-sized avatar
🎸
Working on sound reactive WLED

Andrew Tuline atuline

🎸
Working on sound reactive WLED
View GitHub Profile
@atuline
atuline / ripples.ino
Last active February 10, 2019 19:57
Ripples for FastLED
/*
* Ripples
*
* Originally by: Reko Meriö
*
* Highly modified by: Andrew Tuline
*
* Date: February, 2019
*
* Another ripple routine, that now supports simultaneous ripples via a structure.
/* 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 January 25, 2019 20:36
Sinelon with multiple list 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
/* palette_basic
*
* By: Andrew Tuline
*
* Date: October, 2018
*
* Basic Palette Usage
*
*/
/* 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:
*
// 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 October 22, 2018 21:45
A fill color along with single colours
// 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
/* inoise8_car
*
* By: Andrew Tuline
*
* Date: July, 2018
*
* A simple 8 bit routine that moves along a NOISE plane.
*
* This uses a fixed palette.
*
/* 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
*
/* 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:
*