Microcontroller › 8051 › Re: Project MC012 – Problems with code › Edge triggering
March 9, 2011 at 9:05 am
#5680
Anonymous
Guest
@Thomas
You are right about the jump thing. This happens because a human cannot press a switch for a precise duration and so the controller detects it continously for some time.
To prevent this and to take the input only once at a time you’ll need to add a small circuit for Edge Triggering. Check this link for an example of positive edge triggering. You can then modify your circuit accordingly.