Skip to content

Instantly share code, notes, and snippets.

#include "FastLED.h"
FASTLED_USING_NAMESPACE
#if FASTLED_VERSION < 3001000
#error "Requires FastLED 3.1 or later; check github for latest code."
#endif
#define DATA_PIN 4
//#define CLK_PIN 4
#include "FastLED.h"
FASTLED_USING_NAMESPACE
#if FASTLED_VERSION < 3001000
#error "Requires FastLED 3.1 or later; check github for latest code."
#endif
#define DATA_PIN 4
#include <FastLED.h>
#define LED_PIN 4
#define COLOR_ORDER GRB
#define CHIPSET WS2811
#define NUM_LEDS 240
#define BRIGHTNESS 8
#define FRAMES_PER_SECOND 120
#include "FastLED.h"
FASTLED_USING_NAMESPACE
#if FASTLED_VERSION < 3001000
#error "Requires FastLED 3.1 or later; check github for latest code."
#endif
#define DATA_PIN 4
@slurrybowl
slurrybowl / gist:548ca4326a11ff1257907d00634fd2ef
Created July 18, 2017 15:04
4 button attempt w/FAST LED and BUTTON library. NOT WORKING
#include "FastLED.h"
FASTLED_USING_NAMESPACE
// FastLED "100-lines-of-code" demo reel, showing just a few
// of the kinds of animation patterns you can quickly and easily
// compose using FastLED.
//
// This example also shows one easy way to define multiple
#include "FastLED.h"
FASTLED_USING_NAMESPACE
// FastLED "100-lines-of-code" demo reel, showing just a few
// of the kinds of animation patterns you can quickly and easily
// compose using FastLED.
//
// This example also shows one easy way to define multiple
@slurrybowl
slurrybowl / gist:836be7a236456f229037e2d5437abc4c
Created June 28, 2017 15:41
attempt #2 at 4 buttons for 4 diff. patterns w/FastLED
#include "FastLED.h"
FASTLED_USING_NAMESPACE
// FastLED "100-lines-of-code" demo reel, showing just a few
// of the kinds of animation patterns you can quickly and easily
// compose using FastLED.
//
// This example also shows one easy way to define multiple
// animations patterns and have them automatically rotate.
@slurrybowl
slurrybowl / gist:f3384199a2998c99c9ba5ee8dabda156
Created June 20, 2017 03:45
Failing attempt to add buttons to FastLED demo reel
#include "FastLED.h"
FASTLED_USING_NAMESPACE
// FastLED "100-lines-of-code" demo reel, showing just a few
// of the kinds of animation patterns you can quickly and easily
// compose using FastLED.
//
// This example also shows one easy way to define multiple
// animations patterns and have them automatically rotate.