First working version:
Up = 16 * ID + 1 pulse,
Down = 16 * ID + 5 pulses,
Stop = 16 * ID + 9 pulses
Missing features:
Automatic stop after a while.
Passing meaningfol stings instead of numbers to pulses