File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44// All Rights Reserved 2025
55// Licensed under the GNU GPL License.
66
7- #define DEBUG 0 // 1: DEBUG at 115200, 0: No DEBUG
7+ #define DEBUG 1 // 1: DEBUG at 115200, 0: No DEBUG
88
99// Required libraries
1010#include < SPI.h>
1515
1616// Defined constants
1717#define LED_PIN 6
18- #define NUM_LEDS 300
18+ #define NUM_LEDS 33
1919#define ARTNET_PORT 6454
2020#define START_UNIVERSE 0 // we may not want to begin on universe 0 (remember that artnet is 0-indexed)
2121#define LEDS_PER_UNIVERSE 170
@@ -55,6 +55,13 @@ void artnet_callback(
5555 universesReceived |= (1 << rel);
5656 unsigned long now = millis ();
5757
58+ #if DEBUG
59+ Serial.print (" Universe: " );
60+ Serial.print (metadata.universe );
61+ Serial.print (" | Received: 0x" );
62+ Serial.println (universesReceived, HEX );
63+ #endif
64+
5865 if (universesReceived == ALL_UNI_MASK &&
5966 now - lastShowTime >= MIN_SHOW_INTERVAL ) {
6067
You can’t perform that action at this time.
0 commit comments