Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Michael Karas
11/06/03 17:08
Read: 1049 times

#57987 - RE: smaller is beatiful
Responding to: Peter Dannegger's previous message
Your simpler solution only is able to queue a transition in only one direction. This is quite suitable for applications such as yours as a keypad input where a activate on "make" is the desired action. The code I showed has been used in a more general purpose application where the inputs may come from other types of control signals there it may be necessary to detect the "release" condition or even in applications where the ON and OFF both need to be monitored.

I just wanted to point this out for the benefit of others that may be trying to figure out why my code is more complicated. I used a four sample shift register type filter so that the sequence of zeros or sequence of ones can be independantly detected.

Michael Karas

List of 14 messages in thread
8052 Puzzler #2      Michael Karas      11/06/03 00:56      
   RE: 8052 Puzzler #2      Jez Smith      11/06/03 02:30      
      RE: 8052 Puzzler #2      Michael Karas      11/06/03 07:42      
   RE: 8052 Puzzler #2      Jez Smith      11/06/03 03:20      
   smaller is beatiful      Peter Dannegger      11/06/03 08:19      
      RE: smaller is beatiful      Michael Karas      11/06/03 08:42      
      RE: smaller is beatiful      Michael Karas      11/06/03 17:08      
         RE: smaller is beatiful      Peter Dannegger      11/07/03 06:39      
   RE: 8052 Puzzler #2      Mahmood Elnasser      11/07/03 04:17      
      Answer      Andy Neil      11/07/03 05:34      
         RE: Answer      Michael Karas      11/07/03 06:05      
            RE: Answer      Mahmood Elnasser      11/07/03 08:08      
               RE: Answer      Erik Malund      11/07/03 08:23      
               RE: Answer      Michael Karas      11/07/03 08:32      

Back to Subject List