Sep 27, 2010 #1 D DEV123 Member level 2 Joined Feb 28, 2009 Messages 44 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 1,583 Hi all, How to detect rising (or falling) pulse edge from pushbutton input avoiding debounce. Code in C programming is helpful for me. Or algorithm.....
Hi all, How to detect rising (or falling) pulse edge from pushbutton input avoiding debounce. Code in C programming is helpful for me. Or algorithm.....
Sep 27, 2010 #2 1 123jack Advanced Member level 2 Joined Apr 21, 2010 Messages 547 Helped 91 Reputation 182 Reaction score 78 Trophy points 1,308 Location UK Activity points 5,357 Using what hardware? What chip? What compiler? You really need to provide more info to get a useful response. jack
Using what hardware? What chip? What compiler? You really need to provide more info to get a useful response. jack
Sep 27, 2010 #3 D DEV123 Member level 2 Joined Feb 28, 2009 Messages 44 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 1,583 PSoC CY8C29466 24PXI is the chip , psoc designer 5 is the tool. Thanks for response
Sep 27, 2010 #4 S srizbf Advanced Member level 5 Joined Apr 3, 2010 Messages 1,992 Helped 417 Reputation 840 Reaction score 329 Trophy points 1,363 Activity points 10,985 the algorithm: sense the first active edge(rising or falling) delay 10 to 20 mS again sense . if it is in reqd level , take it as valid input.
the algorithm: sense the first active edge(rising or falling) delay 10 to 20 mS again sense . if it is in reqd level , take it as valid input.