Steve Church

debounced switch detect on key release

Discussion created by Steve Church on Jul 19, 2007
Latest reply on Jul 30, 2007 by Bob McCulla
I have 7 switches on a port which I need to debounce but need to register the key release as well as how long the key was pressed for (could be up to 3 seconds). I believe a passing reference was made by tonyp to this in a previous thread. I shall  be using a background tick interval to sample the switches rather than the KBI (although the switches are connected to the KBI port for waking the processor up). Has anyone any method to do this?