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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/28/05 09:57
Read: times


 
#85995 - things to consider
Responding to: ???'s previous message
Nguyen Nguyen said:
At the present, when I transmit to the PC
it often do continuously.

Consider the following points:
1. Does your input require debouncing? ie is it a mechanical switch, relay contact, slip ring etc...
2. Make sure that the input signal is sharp and clear of noise, you can add filter to it and shmitt trigger before it gets to the microcontroller.
3. Do you need your program to respond to rising edge or falling edge or both?
4. Michael Karas explained to you how to detect input change.
Mahmood





List of 8 messages in thread
TopicAuthorDate
Get Digital Input Once            01/01/70 00:00      
   Once            01/01/70 00:00      
      Detect edge .....            01/01/70 00:00      
         if it's edge detect            01/01/70 00:00      
   Hmm            01/01/70 00:00      
      edge detect            01/01/70 00:00      
   Once to transmit data to PC            01/01/70 00:00      
      things to consider            01/01/70 00:00      

Back to Subject List