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 / 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
*
*/
@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
/* 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);
/* 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:
*
/* Arduino UNO with 3x3 LED Array using row column scanning with PWM and only using built in ports.
*
* Author: Andrew Tuline
*
* Date: July 14, 2012
*
* This does not use any 3rd party chips, thus easy to use in a Lilypad.
*
* Uses synchronized PWM to support LED brightness.
*
/* Anmimation speed test program for FastLED.
*
* By: Andrew Tuline
*
* Date: October, 2017
*
* Problem:
*
* When you write a display routine, the performance of that routine may change as you add other elements to your program. How do we keep that display consistent?
*
@atuline
atuline / Fire2012WithAllPalettes
Created September 11, 2017 23:39
Mark Kriegsman's Fire2012WithPalettes has been modified to support multiple HSV's.
/* fire2012withhuepalettes
By: Mark Kriegsman
Modified by: Andrew Tuline
Date: July, 2015
This is fire2012withpalette that's been modifed to create hue based fire palettes.
/* Simple dot
*
* By: Andrew Tuline
*
* Date: July, 2015
*
* Similar to dots by John Burroughs, but uses the FastLED beatsin8() function instead.
*
*/