Skip to main content
4 events
when toggle format what by license comment
Jul 27, 2020 at 18:17 comment added varun If that's the case, then I would say, send A and B through a comparator. With just one input and no micro, the user can get two different inputs.
Jul 27, 2020 at 17:37 comment added AJN The OP doesn't explicitly say it, but they might want the short and long press signals to be mutually exclusive; i.e. the short press signal doesn't go high in the event of a long press. For the above given circuit, if the press is long, then the output signal A goes high followed by B going high after some time while A still remains high. I such cases the long or short decision can be made only after user releases the press.
Jul 27, 2020 at 17:33 comment added AJN You can edit the previously posted answer to add details rather than a new answer.
Jul 27, 2020 at 16:55 history answered varun CC BY-SA 4.0