22.03.2023, 09:43
channels in DMX.init is the total number of DMX channel addresses that are used (starting from 0 up to 511). This value depends on how many DMX devices are connected to the bus. It's ok to have duplicate addresses if you want to control several DMX devices together.
DMX.set(channel, value) - first argument is channel address (0..511), second is value (0..255).
DMX.set(channel, value) - first argument is channel address (0..511), second is value (0..255).