From d9ff33b78428f82540dcc598426c10ac8bc992dd Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Tue, 14 Apr 2020 21:07:51 +0200 Subject: [PATCH] Adjustments for the BnB setup (2 columns with 150 LEDs each) --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 320f936..5d87673 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -25,9 +25,9 @@ #include "coreids.h" const uint32_t FRAME_INTERVAL_US = 16666; -const uint32_t NUM_STRIPS = 8; -const uint32_t NUM_LEDS = 16; -const uint32_t FLIP_STRIPS_MASK = 0x000000AA; +const uint32_t NUM_STRIPS = 2; +const uint32_t NUM_LEDS = 150; +const uint32_t FLIP_STRIPS_MASK = 0x00000002; std::array 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},