Switch Debounce.
Posted: Thu Aug 13, 2009 4:27 pm
I will put my Β£10.50 worth (after seasonally adjusted figures ) In. At present debounce is only available in waituntilhigh and waituntillow options. It is not ideal. I believe by far the best method was how canipus on Fri Jan 05, 2007 2:41 pm describes it should be done.
See http://www.matrixmultimedia.com/mmforum ... 1575#p1575
i.e switch i/p is level is checked, then routine continues only when i/p is stable. that way if switch is getting old, or is cheap contact bounce can take longer, so this is accounted for. If using an osc i/p then you wont need to tick the debounce option, so no chance of hanging up. Debounce should only remain as an option on inputs for that reason.
This can apply to properties of i/p icons. perhaps have Two options. tick for auto debounce (option 1) and tick for debounce time-out time in ms (option 2) .
So you can have none , option 1 ticked, option 2 ticked, or both option 1 and 2 ticked.
See http://www.matrixmultimedia.com/mmforum ... 1575#p1575
i.e switch i/p is level is checked, then routine continues only when i/p is stable. that way if switch is getting old, or is cheap contact bounce can take longer, so this is accounted for. If using an osc i/p then you wont need to tick the debounce option, so no chance of hanging up. Debounce should only remain as an option on inputs for that reason.
This can apply to properties of i/p icons. perhaps have Two options. tick for auto debounce (option 1) and tick for debounce time-out time in ms (option 2) .
So you can have none , option 1 ticked, option 2 ticked, or both option 1 and 2 ticked.