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 / demoreel100withbutton.ino
Last active Jun 29, 2021
Demoreel100 with a button
View demoreel100withbutton.ino
/*
Title: DemoReel100 with Button
By: Mark Kriegsman
Button added by: Andrew Tuline
@atuline
atuline / blend.ino
Last active Jun 27, 2021
Blending using FastLED
View blend.ino
/* End to end blending
By: Andrew Tuline
Date: Oct 25, 2015
*/
#include "FastLED.h"
#define LED_PIN 12
@atuline
atuline / RGBW_gamma
Created Apr 18, 2019
FastLED RGBW with gamma correction and Perlin noise
View RGBW_gamma
/* FastLED RGBW with gamma correction over Perlin Noise
*
* By: Andrew Tuline
*
* Date: March, 2019
*
* Example sketch using FastLED for RGBW strips (SK6812) along with gamma correction.
*
* The RGBW component was written by David Madison and originally by Jim Bumgardner.
*/
@atuline
atuline / basicfadein.ino
Last active May 9, 2021
Basic Fade In/Out
View basicfadein.ino
/*
* File: basicfadein
*
* By: Andrew Tuline
*
* Date: April, 2019
*
* Based previous work (namely twinklefox) by Mark Kriegsman, this program shows how you can fade-in twinkles by using the fact that a random number generator
* with the same seed will generate the same numbers every time. Combine that with millis and a sine wave and you have twinkles fading in/out.
*
@atuline
atuline / basicfadeingamma.ino
Created Apr 15, 2019
FastLED fade in capability with gamma correction.
View basicfadeingamma.ino
/*
* File: basicfadeingamma
*
* By: Andrew Tuline
*
* Date: April, 2019
*
* Based previous work (namely twinklefox) by Mark Kriegsman, this program shows how you can fade-in twinkles by using the fact that a random number generator
* with the same seed will generate the same numbers every time. Combine that with millis and a sine wave and you have twinkles fading in/out.
@atuline
atuline / soundmems_wave
Created Feb 16, 2017
Create a light wave along an LED strip from basic sampled sound input.
View soundmems_wave
/* soundmems_wave
*
* By: Andrew Tuline
*
* Wave adapted from: Stefan Petrick
*
* Date: February, 2017
*
* Basic code to read from the Sparkfun INMP401 microphone, and create waves based on sampled input.
View brightening.ino
/* Increase/decrease brigtness of LED's.
*
* By: Andrew Tuline
*
* Date: Mar 21, 2019
*
* This is a way to increase the brighness of LED's.
*
*
*/
View fht_log_music
/* fft_log_music
*
* By: Andrew Tuline
*
* Date: Mar, 2019
*
*
* Why use a 7 band MSGEQ7 graphic equalizer chip when you can get many times more frequency bins with software alone and on an Arduino UNO to boot?
*
* This example combines high speed A/D conversion, FFT (Fast Fourier Transform) pitch detection combined with simple FastLED library display using
@atuline
atuline / circring.ino
Last active May 28, 2020
Circular loader ring
View circring.ino
/* Circular loader ring (a real basic one)
*
* By: Andrew Tuline
*
* Date: May, 2019
*
* One version uses a loop and fixed colours, while the other uses a fader.
*
*/
@atuline
atuline / gamma_correction.ino
Last active Jun 22, 2019
gamma_correction
View gamma_correction.ino
/* gamma_correction
*
* By: Andrew Tuline
*
* Date: January, 2019
*
* Testing gamma correction to change LED brightness so that it appears to change evenly for the viewer. The problem is that changes above
* 50 are much less noticeable for the viewer, so the LED gets bright quickly and then stays bright for way too long before dimming again.
*
* There's a few ways to adjust LED output. The table method was proposed on Adafruit.com. Here's a couple of other methods for demonstration.