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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/18/04 09:46
Read: times


 
#81437 - Use a timing function
Responding to: ???'s previous message
I assume than the keypress is 0 and the release is 1

loop1: jb     keypress,loop1
       lcall  wait_500ms
       jb     keypress,routine1
       lcall  wait_500ms
       jb     keypress,routine2



The wait_500ms must be an empty loop or interrupt driven waiting routine.



List of 9 messages in thread
TopicAuthorDate
ON-OFF - Press and Hold for 2nd Function            01/01/70 00:00      
   Change time            01/01/70 00:00      
      Change time            01/01/70 00:00      
   Duh - typo sorry            01/01/70 00:00      
   Use a timing function            01/01/70 00:00      
   not counter - intuitive            01/01/70 00:00      
      not counter - intuitive            01/01/70 00:00      
      More info needed            01/01/70 00:00      
   pushbutton stuff            01/01/70 00:00      

Back to Subject List