Events are sent when input value of the pin changes.

Byte 6: REPEAT is ignored and will be reset to 0.
If Byte 5: DEBOUNCE is non-zero, the event is sent only if input value of the pin is stable for a predefined period of time. The time period is defined in ms.
