Dec 23, 2004 #1 N NTFS Member level 3 Joined Apr 6, 2004 Messages 66 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,286 Activity points 565 Debounce Hello my dears I want to write a program for 8051 to act as a debounce switch. would you help me? regards, NTFS
Debounce Hello my dears I want to write a program for 8051 to act as a debounce switch. would you help me? regards, NTFS
Dec 23, 2004 #2 D dunn Full Member level 3 Joined Apr 12, 2001 Messages 154 Helped 22 Reputation 44 Reaction score 7 Trophy points 1,298 Activity points 1,277 Re: Debounce Check the port for some time (e.g. 10mSecs) if the voltage is constat then the switch has been pressed. Then go to your subroutine (do not check the switch port until about 50mSec later).
Re: Debounce Check the port for some time (e.g. 10mSecs) if the voltage is constat then the switch has been pressed. Then go to your subroutine (do not check the switch port until about 50mSec later).
Dec 23, 2004 #3 M ME Advanced Member level 4 Joined Mar 14, 2002 Messages 1,309 Helped 55 Reputation 112 Reaction score 40 Trophy points 1,328 Activity points 14,859 Debounce Just search google for: debounce 8051 The you will find lots of examples. Please always try to find information with google before asking questions here. Obviously you didn't try that first. Try to read here as well (also found with google): https://www.rentron.com/Myke6.htm
Debounce Just search google for: debounce 8051 The you will find lots of examples. Please always try to find information with google before asking questions here. Obviously you didn't try that first. Try to read here as well (also found with google): https://www.rentron.com/Myke6.htm