Skip to content

Instantly share code, notes, and snippets.

@chemdoc77
chemdoc77 / CD77_Kriegsman_SmartMatrixSwirl_modified.ino
Created January 15, 2024 19:09
Kreigsman's SmartMatrixSwirl modified for WS2812B Matrix
// Kreigsman's SmartMatrixSwirl from https://gist.github.com/kriegsman/5adca44e14ad025e6d3b
// Modified for WS2812B Matrix by Chemdoc77
//#include <SmartMatrix.h>
#include <FastLED.h>
const uint8_t kMatrixWidth = 16;
const uint8_t kMatrixHeight = 16;
const uint8_t kBorderWidth = 2;
/* 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
@dmadison
dmadison / MIDIvis.ino
Created June 2, 2017 12:57
Basic MIDI Visualizer with Arduino
/*
* Basic MIDI Visualizer
* by David Madison © 2017
* www.partsnotincluded.com
*
* This is a basic MIDI visualizer using addressable LEDs, to demonstrate how
* Arduino's MIDI library works. Playing a note turns an LED on, stopping a note
* turns the LED off. Continuous controllers 21, 22, and 23 adjust the RGB color.
*
*/
@kriegsman
kriegsman / TwinkleFOX.ino
Last active January 9, 2024 02:20
TwinkleFOX: Colored Twinkling Holiday Lights
#include "FastLED.h"
#if defined(FASTLED_VERSION) && (FASTLED_VERSION < 3001000)
#warning "Requires FastLED 3.1 or later; check github for latest code."
#endif
#define NUM_LEDS 100
#define LED_TYPE WS2811
#define COLOR_ORDER GRB
@kriegsman
kriegsman / SmartMatrixSwirl.ino
Created November 13, 2014 03:15
SmartMatrix + FastLED v3.1 demo
#include <SmartMatrix.h>
#include <FastLED.h>
const uint8_t kMatrixWidth = 32;
const uint8_t kMatrixHeight = 32;
const uint8_t kBorderWidth = 2;
#define NUM_LEDS (kMatrixWidth*kMatrixHeight)
CRGB leds[NUM_LEDS];