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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/15/08 08:18
Read: times


 
Msg Score: -4
 -3 Gimmee Code
 -1 Looks like homework
#158269 - PLEASE HELP
Responding to: ???'s previous message
somebody please help me with C code as to how to monitor the input port 0 for switching inputs.I need to perform different functions while the inputs at port0 are randomly switching between 1s and 0s.Can somebody just provide C code, something like an infinite loop for performing different operations depending on the input at say P0^3 bit at that instant.(keep monitoring pin P0^3,if it is high-do this, if it is low-do that).

please help.
thanks a lot.

List of 22 messages in thread
TopicAuthorDate
HELP:regular monitoring of inputs 8051            01/01/70 00:00      
   Use a timer ?            01/01/70 00:00      
   Explain            01/01/70 00:00      
      NOT WORKING            01/01/70 00:00      
         instant doesn't exist            01/01/70 00:00      
         Make your mind up!            01/01/70 00:00      
            bounce            01/01/70 00:00      
               Sounds strange ...            01/01/70 00:00      
                  sampling            01/01/70 00:00      
                     Please post legible source code            01/01/70 00:00      
                        What debounce?            01/01/70 00:00      
                     code            01/01/70 00:00      
                        Did you check the preview?            01/01/70 00:00      
                        Broken code            01/01/70 00:00      
                           indentation            01/01/70 00:00      
                              Simulation            01/01/70 00:00      
                              Regular            01/01/70 00:00      
   Why not reading from main loop?            01/01/70 00:00      
   PLEASE HELP            01/01/70 00:00      
      have a look at Rate This Post            01/01/70 00:00      
   Study the state machine tutorial...            01/01/70 00:00      
      Is it here?            01/01/70 00:00      

Back to Subject List