Skip to content

Commit

Permalink
pack everything in 5 universes
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-Arc committed Jan 9, 2019
1 parent 1c5e417 commit 9f79a4a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions BlackLED.ino
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ const int num_channel_per_output = MAX_NUM_LED_PER_OUTPUT * NUM_CHANNEL_PER_LED;

const int num_universes_per_output = (num_channel_per_output%512) ? num_channel_per_output/512+1 : num_channel_per_output/512;

const int num_led_per_output = num_universes_per_output*512/NUM_CHANNEL_PER_LED;

const int num_artnet_ports = num_universes_per_output*NUM_OF_OUTPUTS;
const int num_led_per_output = MAX_NUM_LED_PER_OUTPUT;

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
Expand Down Expand Up @@ -123,7 +121,7 @@ ArtConfig config = {
0, 0, // Net (0-127) and subnet (0-15)
"BlackLED_6", // Short name
"BlackLED_6_port", // Long name
num_artnet_ports, // Number of ports
5, // Number of ports
{ PortTypeDmx | PortTypeOutput,
PortTypeDmx | PortTypeOutput,
PortTypeDmx | PortTypeOutput,
Expand Down

0 comments on commit 9f79a4a

Please sign in to comment.