I'm writing this applet for a testbench I'm building. Initial version will just edge detect on pins and increment counters.
Other future features could include
- counter reset
- per pin configurable debounce time
- pulse width measurement (min/max/median/recent)