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
external CRGB *leds; | |
external void clear(); | |
external void show(); | |
external void display(int h); | |
external void hsv(uint8_t h, uint8_t s, uint8_t v); | |
int copy[9216]; | |
int line1[96]; | |
int linec[96]; | |
int size; |
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
#define NUM_LEDS_PER_STRIP 256 | |
#define NUM_STRIPS 4 | |
#define NUM_LEDS (NUM_LEDS_PER_STRIP * NUM_STRIPS) | |
#include "FastLED.h" | |
#include "I2SClocklessLedDriver.h" | |
#include "ledOS.h" | |
#include "parser.h" | |
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
if (fixture.doAllocPins) { | |
unsigned pinNr = 0; | |
int pins[16]; | |
int lengths[16]; | |
int nb_pins=0; | |
for (PinObject &pinObject: pins->pinObjects) { | |
if (pins->isOwner(pinNr, "Leds")) { //if pin owned by leds, (assigned in projectAndMap) | |
//dirty trick to decode nrOfLedsPerPin | |
char details[32]; |
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
#define DEBUG_ETHERNET_WEBSERVER_PORT Serial | |
// Debug Level from 0 to 4 | |
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3 | |
#include <WebServer_ESP32_W5500.h> | |
#include "I2SClocklessLedDriver.h" | |
#include "Arduino.h" | |
#include "artnetESP32V2.h" |
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 <WiFi.h> | |
#include "Arduino.h" | |
#include "artnetESP32V2.h" | |
#define NUM_LEDS_PER_STRIP 270 | |
#define NUMSTRIPS 8 | |
#define NB_CHANNEL_PER_LED 3 //Should be 4 if your sending tool is sending RGBW | |
#define UNIVERSE_SIZE_IN_CHANNEL 510 | |
#define START_UNIVERSE 0 |
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 "FS.h" | |
#include "SD.h" | |
#include "SPI.h" | |
File myFile; | |
bool FILE_IS_OPEN = false; | |
int nb_bytes=0; | |
void setup() { |
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" | |
#include "freertos/queue.h" | |
#include "freertos/semphr.h" | |
#include "SD.h" | |
#include "SPI.h" | |
#define NUM_LEDS 5184 | |
#define LEDS_PER_PIN (NUM_LEDS / 6) | |
#define QUEUE_SIZE 50 |
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" | |
#include "freertos/queue.h" | |
#include "freertos/semphr.h" | |
#include "SD.h" | |
#include "SPI.h" | |
#define NUM_LEDS 5184 | |
#define LEDS_PER_PIN (NUM_LEDS / 6) | |
#define QUEUE_SIZE 50 |
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 <stdio.h> | |
#include "WiFi.h" | |
#define ARTNET_STAT | |
#include "artnetESP32V2.h" | |
//#define ESP_VIRTUAL_DRIVER_8 1 //to use the 8:1 ratio | |
#define HARDWARESPRITES 0 | |
#define ALTERNATEPATTERN 1 | |
#define STATICCOLOR 0 //to get | |
//#define FULL_DMA_BUFFER | |
#define NBIS2SERIALPINS 2 //number of esp32 pins you will use. the total number of strips available will be NBIS2SERIALPINS * 8 here 72 strips |
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
#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; |
NewerOlder