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 <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]; |
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" | |
#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 |
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
/* | |
* 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. | |
* | |
*/ |
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
/* 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 |
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
// 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; |