When you want to generate only the long button, the short button is required not to be generated
immediately by pressing the remote control button.
Put 1~254 in S-Hold Time.
The short button is generated when the button is released before Critical Time while S-Hold Time.
The long button is generated when the button is released after Critical Time while L-Hold Time.
Hold Time value 1 is about 10ms, so Hold Time value 254 is about 2540ms(2.54s).
cpjexd-separate-short-and-long-button

Share with: