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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/20/10 17:08
Read: times


 
#175187 - yes no software debounce
Responding to: ???'s previous message
Erik Malund said:
start with only reacting to keypresses when you have seen two IDENTICAL reads 25ms apart

Erik



yes the present software doesn't check for this delay i"ll modify my code file for the same ,at present the 100n caps at i/ps pins are solving the purpose
...insert code here
 

switch(rowStatus) // check the row line
{
case 0x0e:{ if(keyPressed == 0x0e) keyCode = '1'; //check the coloumn line
if(keyPressed == 0x0d) keyCode = '2';
if(keyPressed == 0x0b) keyCode = '3';
if(keyPressed == 0x07) keyCode = '+'; //0x00; //0xa2;
break;}
...insert code here
 

may be I"ll have to add some delay after if(keyPressed == 0x0e) and recheck the same before returning the value .


But I am more worried for the loss of control on pin P0_3 which mentioned in point 2 any clues for possible reasons ?

List of 25 messages in thread
TopicAuthorDate
Hobbyist asking for professionals to solve noise problems            01/01/70 00:00      
   images on web upload            01/01/70 00:00      
   sounds like missing debounce            01/01/70 00:00      
      yes no software debounce            01/01/70 00:00      
         Sample superloop            01/01/70 00:00      
   Hhm, many problems to solve...            01/01/70 00:00      
      can only post after 7pm india            01/01/70 00:00      
      detailed reply with images link            01/01/70 00:00      
         Fast and low voltage drop            01/01/70 00:00      
            still have some doubts            01/01/70 00:00      
               ?? any replies            01/01/70 00:00      
                  Think about which polarity you want the diode to conduct            01/01/70 00:00      
                     it should be case2            01/01/70 00:00      
                        just a question            01/01/70 00:00      
                           adding it now            01/01/70 00:00      
                              software debounce done :-)            01/01/70 00:00      
                                 if you do not need "wake up" on a keypress ...            01/01/70 00:00      
                                    got it            01/01/70 00:00      
                                       you don't, so what            01/01/70 00:00      
                                          Thanks for pseudo            01/01/70 00:00      
         Two major mistakes...            01/01/70 00:00      
            points taken,my understandings            01/01/70 00:00      
               Design for an industrial environment!            01/01/70 00:00      
                  the oft missed point            01/01/70 00:00      
                     thanks for feedbacks            01/01/70 00:00      

Back to Subject List