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
| #define __HARDWARE_MAP | |
| #include "I2SClocklessLedDriver.h" | |
| #define ledsperstrip 256 | |
| #define numstrips 16 | |
| //here we have 3 colors per pixel | |
| uint8_t leds[numstrips*ledsperstrip*3]; | |
| #define LED_WIDTH 16 | |
| uint16_t cal(int i) | |
| { | |
| int d=i/LED_WIDTH; |
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> | |
| struct UDS56503 | |
| { | |
| uint32_t valuel ; | |
| uint8_t valueh ; | |
| inline UDS56503() __attribute__((always_inline)) |
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
| #define FULL_DMA_BUFFER | |
| #define USE_FASTLED | |
| #define COLOR_GRB | |
| #include "I2SClocklessLedDriver.h" | |
| #define NUM_LEDS_PER_STRIP 256 | |
| #define NUMSTRIPS 3 | |
| //here we have 3 colors per pixel | |
| //uint8_t leds[numstrips*ledsperstrip*3]; | |
| //this one below is same as the one above |
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
| /* | |
| * Arduino interface for the use of WS2812 strip LEDs | |
| * Uses Adalight protocol and is compatible with Boblight, Prismatik etc... | |
| * "Magic Word" for synchronisation is 'Ada' followed by LED High, Low and Checksum | |
| * @author: Wifsimster <wifsimster@gmail.com> | |
| * @library: FastLED v3.001 | |
| * @date: 11/22/2015 | |
| */ | |
| #include "FastLED.h" | |
| #define NUM_LEDS 240 |
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
| #define NBIS2SERIALPINS 7 //the number of virtual pins here mavimum 32 strips | |
| #define STATIC_COLOR_GRB 1 //set the strip color | |
| #define NUM_LEDS_PER_STRIP 120 | |
| #define NUM_LEDS (NUM_LEDS_PER_STRIP*NBIS2SERIALPINS*8) | |
| #define CLOCK_PIN 16 | |
| #define LATCH_PIN 26 | |
| #define NUM_STRIPS 56 | |
| #define CONFIG_FREERTOS_USE_TRACE_FACILITY 1 | |
| #define CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS 1 |
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 "settings.h" | |
| #include "myCredentials.h" // oh yeah. there is myCredentials.zip on the root of this repository. include it as a library and then edit the file with your onw ips and stuff | |
| #include "setupWifi.h" | |
| #include "OTA.h" | |
| #ifdef USING_SERIALOTA | |
| #include "SerialOTA.h" | |
| #endif |
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" | |
| #define NUM_LEDS_PER_STRIP 21 | |
| #define NUMSTRIPS 7 | |
| #define NUM_LEDS NUM_STRIPS * NUM_LEDS_PER_STRIP | |
| #define CLOCK_PIN 18 //needs to be higher than 16 | |
| #include "I2SHD108.h" | |
| int Pins[16]={23,22,21,19,5,4,2}; |
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" | |
| #define NUM_LEDS_PER_STRIP 21 | |
| #define NUMSTRIPS 7 | |
| #define NUM_LEDS NUMSTRIPS * NUM_LEDS_PER_STRIP | |
| #define CLOCK_PIN 18 //needs to be higher than 16 | |
| #include "I2SHD108.h" | |
| int Pins[16]={23,22,21,19,5,4,2}; |
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
| #pragma once | |
| //#include "FastLED.h" | |
| struct Brightness{ | |
| uint8_t bred; | |
| uint8_t bgreen; | |
| uint8_t bblue; | |
| inline Brightness() __attribute__((always_inline)) | |
| { |
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" | |
| #define NUM_LEDS_PER_STRIP 21 | |
| #define NUMSTRIPS 7 | |
| #define NUM_LEDS NUMSTRIPS * NUM_LEDS_PER_STRIP | |
| #define CLOCK_PIN 18 //needs to be higher than 16 | |
| #include "I2SHD108.h" | |
| int Pins[16]={23,22,21,19,5,4,2}; |