Skip to content

Instantly share code, notes, and snippets.

@mneuschaefer
mneuschaefer / LED-matrix-effects.ino
Created August 28, 2018 13:12
fastled effects for newer board
#include "FastLED.h"
// FastLED library from
// https://github.com/FastLED/FastLED
FASTLED_USING_NAMESPACE
// Based on FastLED "100-lines-of-code" demo reel from Mark Kriegsmann
// https://github.com/FastLED/FastLED/tree/master/examples/DemoReel100
#if defined(FASTLED_VERSION) && (FASTLED_VERSION < 3001000)
#warning "Requires FastLED 3.1 or later; check github for latest code."
/* Activity board for my nephew
* lasercut MDF box with http://www.makercase.com/
* two WS2812 LED strips (left and right)
* two c470 Ohm resistors (to connect WS2812 data)
* 1 Potentiometer / Dial
* 1 8x8 LED Matrix (MAX7219)
*/
#include <Button.h> // https://github.com/JChristensen/Button
#include "LedControl.h" //https://github.com/wayoda/LedControl
@mneuschaefer
mneuschaefer / fastled_effects.ino
Last active September 20, 2018 17:01
#Arduino FastLed Effects for 25x25 LED matrix with button
#include "FastLED.h"
// FastLED library from
// https://github.com/FastLED/FastLED
FASTLED_USING_NAMESPACE
// Based on FastLED "100-lines-of-code" demo reel from Mark Kriegsmann
// https://github.com/FastLED/FastLED/tree/master/examples/DemoReel100
#if defined(FASTLED_VERSION) && (FASTLED_VERSION < 3001000)
#warning "Requires FastLED 3.1 or later; check github for latest code."