This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Time_Sawtooth | |
* | |
* By: Andrew Tuline | |
* | |
* Date: February, 2018 | |
* | |
* Creating a sawtooth pattern using millis and bpm. | |
* | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "FastLED.h" // FastLED library. | |
#if FASTLED_VERSION < 3001000 | |
#error "Requires FastLED 3.1 or later; check github for latest code." | |
#endif | |
// Fixed definitions cannot change on the fly. | |
#define LED_DT 12 // Data pin to connect to the strip. | |
#define LED_CK 11 // Clock pin for WS2801 or APA102. | |
#define COLOR_ORDER BGR // It's GRB for WS2812 and BGR for APA102. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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: | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* inoise8_car | |
* | |
* By: Andrew Tuline | |
* | |
* Date: July, 2018 | |
* | |
* A simple 8 bit routine that moves along a NOISE plane. | |
* | |
* This uses a fixed palette. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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: | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* palette_basic | |
* | |
* By: Andrew Tuline | |
* | |
* Date: October, 2018 | |
* | |
* Basic Palette Usage | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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 |