Reset the counter reset flags after output.
Add counter, counter reset and debounce to VC demo.