Adjustments for the BnB setup (2 columns with 150 LEDs each)

This commit is contained in:
Thomas Kolb 2020-04-14 21:07:51 +02:00 committed by Thomas Kolb
parent 9e35c239d6
commit d9ff33b784

View file

@ -25,9 +25,9 @@
#include "coreids.h" #include "coreids.h"
const uint32_t FRAME_INTERVAL_US = 16666; const uint32_t FRAME_INTERVAL_US = 16666;
const uint32_t NUM_STRIPS = 8; const uint32_t NUM_STRIPS = 2;
const uint32_t NUM_LEDS = 16; const uint32_t NUM_LEDS = 150;
const uint32_t FLIP_STRIPS_MASK = 0x000000AA; const uint32_t FLIP_STRIPS_MASK = 0x00000002;
std::array<strand_t, 1> STRANDS { // Avoid using any of the strapping pins on the ESP32, anything >=32, 16, 17... not much left. std::array<strand_t, 1> STRANDS { // Avoid using any of the strapping pins on the ESP32, anything >=32, 16, 17... not much left.
strand_t {.rmtChannel = 0, .gpioNum = 4, .ledType = LED_SK6812W_V1, .brightLimit = 32, .numPixels = NUM_LEDS * NUM_STRIPS}, strand_t {.rmtChannel = 0, .gpioNum = 4, .ledType = LED_SK6812W_V1, .brightLimit = 32, .numPixels = NUM_LEDS * NUM_STRIPS},