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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/04/06 14:08
Modified:
  04/04/06 14:11

Read: times


 
#113609 - the one issue
Responding to: ???'s previous message
.. is the combination of debouncing and repeat. Not a big deal, but the fun part of the design. I have solved it by the debounce timer loop setting a variable to zero on "new key" and, if a valid key exist, incrementing it if it is not zero. In the main loop inspecting said vartiable and, if it is zero it means Key pressed (long enough) act and set the variable to max - delay.

the above is brief, but you should get the drift.

Erik

List of 17 messages in thread
TopicAuthorDate
LCD repeat function in C            01/01/70 00:00      
   First thought            01/01/70 00:00      
      if its roundrobin            01/01/70 00:00      
         last post            01/01/70 00:00      
      Sounds fine            01/01/70 00:00      
   the one issue            01/01/70 00:00      
      stuck key            01/01/70 00:00      
      Yes            01/01/70 00:00      
         Code Review            01/01/70 00:00      
            this must be excellent switches            01/01/70 00:00      
               excellent debounce for bad switches            01/01/70 00:00      
   better code version            01/01/70 00:00      
      no comments, captals, no indenting            01/01/70 00:00      
         It could do with some improvement!            01/01/70 00:00      
            I did not comment on that, it may very w            01/01/70 00:00      
            true....            01/01/70 00:00      
               led to so much misinformation in this fo            01/01/70 00:00      

Back to Subject List