摘要 |
A device, such as a music player, DVD player, TV, mobile phone, wireless smartphone accessory, PC, tablet computer, laptop computer, thermometer, or heart rate monitor, may be controlled by depressing a button for a short, medium, or long length of time. The length of the input pulse is compared against two time thresholds t1 and t2 (figure 2). Various pulse train outputs may be provided at an LED interface (6, figure 1) to indicate to a user the detected category of pulse length. The time thresholds t1 and t2, the parameters of the pulse outputs, and the mapping of detected pulse input lengths to state machine or host actions (4 or 3, figure 1) may be configured by the user, for example by use of a graphical user interface or web-style interface. |