This code snipped was used to control an art-net device with an pushbutton, e.g. to execute an effect in the light controlling software on button press.