This file contains hidden or 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
/* | |
Hello_Adafruit_SH110X.ino | |
Demonstrates how to connect U8g2_for_Adafruit_GFX to Adafruit SH110X library. | |
U8g2_for_Adafruit_GFX: | |
- Use U8g2 fonts with Adafruit GFX | |
- Support for UTF-8 in print statement | |
- 90, 180 and 270 degree text direction |
This file contains hidden or 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
// | |
// "Pacifica" | |
// Gentle, blue-green ocean waves. | |
// December 2019, Mark Kriegsman and Mary Corey March. | |
// For Dan. | |
// -- modified to enable Hue settings -- | |
////////////////////////////////////////////////////////////////////////// | |
// | |
// The code for this animation is more complicated than other examples, and |
This file contains hidden or 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> | |
//#include <ColorConverterLib.h> | |
#define LED_PIN 2 | |
#define COLOR_ORDER GRB | |
#define CHIPSET WS2812B | |
#define kMatrixWidth 8 | |
#define kMatrixHeight 24 | |
#define currentBrightness 40 | |
#define NUM_LEDS ((kMatrixWidth) * (kMatrixHeight)) |
This file contains hidden or 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> | |
// Matrix size | |
#define kMatrixHeight 24 // Matrix Height / Rows | |
#define kMatrixWidth 8 // Matrix Width / Cols | |
#define NUM_LEDS kMatrixHeight * kMatrixWidth // Total number of LEDs | |
#define DATA_PIN 2 // pin on esp32 for driving Leds | |
#define currentBrightness 100 // brightness of Leds | |
// Define the array of leds |
This file contains hidden or 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> | |
//#include <ColorConverterLib.h> | |
#define NUM_LEDS 192 | |
#define kMatrixHeight 24 | |
#define kMatrixWidth 8 | |
#define currentBrightness 60 | |
CRGB Leds1[NUM_LEDS]; | |
CRGB Leds2[NUM_LEDS]; |
This file contains hidden or 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 <ESP8266WiFi.h> // Uncomment for esp8666 & comment out WiFi.h | |
#include <ESPAsyncE131.h> | |
#include <FastLED.h> | |
#include <WiFi.h> // Uncomment for esp32 & comment out ESP8266WiFi.h | |
#define NUM_LEDS 192 | |
#define MAX_LEDS_PER_UNIVERSE 170 | |
#define UNIVERSE 1 | |
#define UNIVERSE_COUNT 10 // Total number of Universes to listen for, starting at UNIVERSE |
This file contains hidden or 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
// video on https://www.reddit.com/r/FastLED/comments/yv1c9t/fake_spectrum_analyzer_using_beatsin8_no_fft_not/ | |
#include <FastLED.h> | |
#define kMatrixHeight 24 | |
#define kMatrixWidth 8 | |
#define NUM_LEDS kMatrixHeight*kMatrixWidth //192 | |
CRGB leds[NUM_LEDS]; |