My issue is there is alot of debouncing when the signal is coming in, so the interrupt is able to finish its work quickly but once it goes back to the main loop, there is still debouncing occuring until it settles into one of the states(LOW or HIGH). Occasionally the output pin will set to HIGH from LOW and within an instant get set back to low because of the debouncing signal. Is there a way I can stop the debouncing from having such a major effect on the interrupt.
Do you know what DEBOUNCING MEANS ?
If so, please define it :
Give an example.