DMXSerial icon indicating copy to clipboard operation
DMXSerial copied to clipboard

Why this equation in the channel const?

Open damccull opened this issue 1 year ago • 0 comments

What is the purpose of this equation in the channel const I the DmxSerialRecv.ino example line 29?

const int startChannel = 0 * 3 + 1;

Doesn't this just get compiler optimized to 1, then further optimized into individual values and inlined further down where it's used?

What does this do?

damccull avatar Jan 03 '23 22:01 damccull