You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am starting the process of converting some of my Teensy code to work on a PICO.
My project reads a dip switch to determine the DMX start channel.
In you example you define volatile uint8_t buffer[DMXINPUT_BUFFER_SIZE(START_CHANNEL, NUM_CHANNELS)]; befor the code starts.
Is there a way to either change the buffer or set the buffer during void setup() ?
I guess more specifically i wonder if i can call dmxInput.begin(0, START_CHANNEL, NUM_CHANNELS); again after a dip switch change was noticed? Do i need to call dmxInput.end() first?
Thank you for your advice.
The text was updated successfully, but these errors were encountered:
the other approach is reading the whole universe (all 512 channels) and dynamically deciding which channels to use. (from #15 (comment)). If your DMX device is sending a partial universe (which my fader does) then this is, afaict, the only way of changing start channel with this library.
Thank you for making this library.
I am starting the process of converting some of my Teensy code to work on a PICO.
My project reads a dip switch to determine the DMX start channel.
In you example you define
volatile uint8_t buffer[DMXINPUT_BUFFER_SIZE(START_CHANNEL, NUM_CHANNELS)];
befor the code starts.Is there a way to either change the buffer or set the buffer during
void setup()
?I guess more specifically i wonder if i can call
dmxInput.begin(0, START_CHANNEL, NUM_CHANNELS);
again after a dip switch change was noticed? Do i need to calldmxInput.end()
first?Thank you for your advice.
The text was updated successfully, but these errors were encountered: